cmake: CppUnit cleanup

- explicitly list source files

Reviewed-by: Roger Meier <r.meier@siemens.com>
This commit is contained in:
Pascal Bach 2014-07-09 15:43:57 +02:00
parent 82d329914b
commit ac68b49897

View File

@ -1,9 +1,18 @@
set(LIBNAME "CppUnit")
aux_source_directory(src SRCS)
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}
set_target_properties( ${LIBNAME}
PROPERTIES
VERSION "1"
SOVERSION "1")