comparison CMakeLists.txt @ 635:cd3b60f6e7d4

refactoring cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Oct 2013 10:48:03 +0100
parents d775a3cb5a06
children 92aa6df91c30
comparison
equal deleted inserted replaced
634:d775a3cb5a06 635:cd3b60f6e7d4
233 ) 233 )
234 234
235 235
236 236
237 ##################################################################### 237 #####################################################################
238 ## Build the unit tests if required 238 ## Build the unit tests
239 ##################################################################### 239 #####################################################################
240 240
241 add_definitions(-DORTHANC_BUILD_UNIT_TESTS=1)
241 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) 242 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake)
242 add_executable(UnitTests 243 add_executable(UnitTests
243 ${GTEST_SOURCES} 244 ${GTEST_SOURCES}
244 UnitTestsSources/FileStorage.cpp 245 UnitTestsSources/FileStorage.cpp
245 UnitTestsSources/MemoryCache.cpp 246 UnitTestsSources/MemoryCache.cpp