poco/CppUnit/CMakeLists.txt

21 lines
389 B
CMake
Raw Normal View History

2012-06-26 14:37:02 +02:00
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
)
2012-06-26 14:37:02 +02:00
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
set_target_properties( ${LIBNAME}
2012-06-26 14:37:02 +02:00
PROPERTIES
VERSION "1"
SOVERSION "1")
target_link_libraries( ${LIBNAME} )