e66db5ca3a
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.
18 lines
393 B
CMake
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()
|