1
0
Fork 0
flightgear/3rdparty/cppunit/CMakeLists.txt
Edward d'Auvergne e66db5ca3a TestSuite: Support for building the FlightGear bundled CppUnit library.
The CppUnit source is built as a static library and linked to the run_test_suite
executable.  The FlightGear CppUnit library is now build using CMake rather than
using the Autotools build system.
2018-03-23 17:26:05 +01:00

18 lines
393 B
CMake

set(CPPUNIT_SOURCES
${CPPUNIT_SOURCES}
)
set(CPPUNIT_HEADERS
${CPPUNIT_HEADERS}
)
# Add the src and header directories.
add_subdirectory(src)
add_subdirectory(include)
foreach(s ${CPPUNIT_SOURCES})
set_property(GLOBAL APPEND PROPERTY CPPUNIT_SOURCES "${s}")
endforeach()
foreach(h ${CPPUNIT_HEADERS})
set_property(GLOBAL APPEND PROPERTY CPPUNIT_HEADERS "${h}")
endforeach()