2009-02-15 16:49:19 +01:00
|
|
|
set(LIBNAME "CppUnit")
|
|
|
|
set(LIBNAMED "${LIBNAME}d")
|
|
|
|
|
|
|
|
aux_source_directory(src SRCS)
|
|
|
|
|
|
|
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
|
|
|
set_target_properties( ${LIBNAME}
|
2009-08-26 14:26:22 +02:00
|
|
|
PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS}
|
2011-09-15 10:31:51 +02:00
|
|
|
VERSION "1"
|
|
|
|
SOVERSION "1")
|
2009-02-15 16:49:19 +01:00
|
|
|
target_link_libraries( ${LIBNAME} )
|
|
|
|
|
|
|
|
add_library( ${LIBNAMED} ${LIB_MODE} ${SRCS} )
|
|
|
|
set_target_properties( ${LIBNAMED}
|
2009-08-26 14:26:22 +02:00
|
|
|
PROPERTIES COMPILE_FLAGS "${DEBUG_CXX_FLAGS}"
|
2011-09-15 10:31:51 +02:00
|
|
|
VERSION "1"
|
|
|
|
SOVERSION "1")
|
2009-02-15 16:49:19 +01:00
|
|
|
target_link_libraries( ${LIBNAMED} )
|