Files
simgear/simgear/structure/CMakeLists.txt
T
Thomas Geymayer 0b60643053 HTTPRequest/pkg::Install: do not replace callbacks.
Keep a list of callbacks to allow registering multiple callbacks
to the same event. This is consistent with eg. jQuery.Deferred
and is needed for example to open multiple dialogs showing the
progress of installing a package at the same time.
2014-06-30 18:22:24 +02:00

74 lines
1.5 KiB
CMake

include (SimGearComponent)
set(HEADERS
OSGUtils.hxx
OSGVersion.hxx
SGAtomic.hxx
SGBinding.hxx
SGExpression.hxx
SGReferenced.hxx
SGSharedPtr.hxx
SGSmplhist.hxx
SGSmplstat.hxx
SGWeakPtr.hxx
SGWeakReferenced.hxx
SGPerfMon.hxx
singleton.hpp
Singleton.hxx
StringTable.hxx
callback.hxx
commands.hxx
event_mgr.hxx
exception.hxx
function_list.hxx
intern.hxx
map.hxx
subsystem_mgr.hxx
StateMachine.hxx
)
set(DETAIL_HEADERS
detail/function_list_template.hxx
)
set(SOURCES
SGAtomic.cxx
SGBinding.cxx
SGExpression.cxx
SGSmplhist.cxx
SGSmplstat.cxx
SGPerfMon.cxx
StringTable.cxx
commands.cxx
event_mgr.cxx
exception.cxx
subsystem_mgr.cxx
StateMachine.cxx
)
simgear_component(structure structure "${SOURCES}" "${HEADERS}")
simgear_component(structure/detail structure/detail "" "${DETAIL_HEADERS}")
if(ENABLE_TESTS)
add_executable(test_state_machine state_machine_test.cxx)
target_link_libraries(test_state_machine ${TEST_LIBS})
add_test(state_machine ${EXECUTABLE_OUTPUT_PATH}/test_state_machine)
add_executable(test_expressions expression_test.cxx)
target_link_libraries(test_expressions ${TEST_LIBS})
add_test(expressions ${EXECUTABLE_OUTPUT_PATH}/test_expressions)
endif(ENABLE_TESTS)
add_boost_test(function_list
SOURCES function_list_test.cxx
LIBRARIES ${TEST_LIBS}
)
add_boost_test(shared_ptr
SOURCES shared_ptr_test.cpp
LIBRARIES ${TEST_LIBS}
)