Rebase to master
parent
8d77a47304
commit
a8deb121e4
|
@ -16,9 +16,9 @@ SOURCE_GROUP( unit FILES
|
|||
)
|
||||
|
||||
if(WIN32)
|
||||
# cpppunit provides configuration headers for MSVC. Other plaforms require
|
||||
# explicit creation at configure time.
|
||||
if(NOT MSVC)
|
||||
# cpppunit provides configuration headers for MSVC. Other compilers require
|
||||
# explicit header creation at configure time.
|
||||
if(NOT MSVC)
|
||||
# Generates include/cppunit/config-auto.h
|
||||
# This is originally done by autoconf
|
||||
|
||||
|
@ -119,9 +119,9 @@ if(NOT MSVC)
|
|||
#Not used STDC_HEADERS
|
||||
check_include_file_cxx(typeinfo CPPUNIT_USE_TYPEINFO_NAME)
|
||||
configure_file(unit/cppunit-config/config.h.cmake ${CMAKE_CURRENT_SOURCE_DIR}/../contrib/cppunit-1.12.1/include/cppunit/config-auto.h)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
SET( CPPUNIT_SRCS
|
||||
SET( CPPUNIT_SRCS
|
||||
../contrib/cppunit-1.12.1/src/cppunit/AdditionalMessage.cpp
|
||||
../contrib/cppunit-1.12.1/src/cppunit/Asserter.cpp
|
||||
../contrib/cppunit-1.12.1/src/cppunit/BeOsDynamicLibraryManager.cpp
|
||||
|
@ -175,8 +175,8 @@ SET( CPPUNIT_SRCS
|
|||
../contrib/cppunit-1.12.1/src/cppunit/XmlElement.cpp
|
||||
../contrib/cppunit-1.12.1/src/cppunit/XmlOutputter.cpp
|
||||
../contrib/cppunit-1.12.1/src/cppunit/XmlOutputterHook.cpp
|
||||
)
|
||||
SOURCE_GROUP(cppunit FILES ${CPPUNIT_SRCS})
|
||||
)
|
||||
SOURCE_GROUP(cppunit FILES ${CPPUNIT_SRCS})
|
||||
else()
|
||||
find_library(CPPUNIT_LIBRARY cppunit)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue