1
0
Fork 0
flightgear/test_suite/FGTestApi/CMakeLists.txt
James Turner c92c41a50f Switch test_suite build to use an OBJECT library
Remove use of BUILDING_TESTSUITE from headers. Where possible, move
test APIs to their own file in the test_suite dir (testApis.cxx). For
some others, add them to a special list of ‘sources which depend on
the build mode’. This will hopefully go away with some further
refactoring.
2021-03-08 16:59:15 +00:00

24 lines
836 B
CMake

set(TESTSUITE_SOURCES
${TESTSUITE_SOURCES}
${CMAKE_CURRENT_SOURCE_DIR}/testGlobals.cxx
${CMAKE_CURRENT_SOURCE_DIR}/NavDataCache.cxx
${CMAKE_CURRENT_SOURCE_DIR}/PrivateAccessorFDM.cxx
${CMAKE_CURRENT_SOURCE_DIR}/scene_graph.cxx
${CMAKE_CURRENT_SOURCE_DIR}/TestPilot.cxx
${CMAKE_CURRENT_SOURCE_DIR}/NasalUnitTesting_TestSuite.cxx
${CMAKE_CURRENT_SOURCE_DIR}/TestDataLogger.cxx
${CMAKE_CURRENT_SOURCE_DIR}/testApis.cxx
PARENT_SCOPE
)
set(TESTSUITE_HEADERS
${TESTSUITE_HEADERS}
${CMAKE_CURRENT_SOURCE_DIR}/testGlobals.hxx
${CMAKE_CURRENT_SOURCE_DIR}/NavDataCache.hxx
${CMAKE_CURRENT_SOURCE_DIR}/PrivateAccessorFDM.hxx
${CMAKE_CURRENT_SOURCE_DIR}/scene_graph.hxx
${CMAKE_CURRENT_SOURCE_DIR}/TestPilot.hxx
${CMAKE_CURRENT_SOURCE_DIR}/TestDataLogger.hxx
PARENT_SCOPE
)