poco/CppUnit/CMakeLists.txt
Pascal Bach ac68b49897 cmake: CppUnit cleanup
- explicitly list source files

Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00

21 lines
389 B
CMake

set(LIBNAME "CppUnit")
set(SRCS
src/CppUnitException.cpp
src/TestCase.cpp
src/TestDecorator.cpp
src/TestFailure.cpp
src/TestResult.cpp
src/TestRunner.cpp
src/TestSuite.cpp
src/TextTestResult.cpp
)
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
set_target_properties( ${LIBNAME}
PROPERTIES
VERSION "1"
SOVERSION "1")
target_link_libraries( ${LIBNAME} )