Mercurial > hg > orthanc
comparison CMakeLists.txt @ 633:e207b33216db
merge
author | jodogne |
---|---|
date | Tue, 29 Oct 2013 09:04:25 +0100 |
parents | b8322fe3bdba 17815b9d4280 |
children | d775a3cb5a06 |
comparison
equal
deleted
inserted
replaced
626:b8322fe3bdba | 633:e207b33216db |
---|---|
242 if (BUILD_UNIT_TESTS) | 242 if (BUILD_UNIT_TESTS) |
243 add_definitions(-DORTHANC_BUILD_UNIT_TESTS=1) | 243 add_definitions(-DORTHANC_BUILD_UNIT_TESTS=1) |
244 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) | 244 include(${CMAKE_SOURCE_DIR}/Resources/CMake/GoogleTestConfiguration.cmake) |
245 add_executable(UnitTests | 245 add_executable(UnitTests |
246 ${GTEST_SOURCES} | 246 ${GTEST_SOURCES} |
247 UnitTests/FileStorage.cpp | 247 UnitTestsSources/FileStorage.cpp |
248 UnitTests/MemoryCache.cpp | 248 UnitTestsSources/MemoryCache.cpp |
249 UnitTests/Png.cpp | 249 UnitTestsSources/Png.cpp |
250 UnitTests/RestApi.cpp | 250 UnitTestsSources/RestApi.cpp |
251 UnitTests/SQLite.cpp | 251 UnitTestsSources/SQLite.cpp |
252 UnitTests/SQLiteChromium.cpp | 252 UnitTestsSources/SQLiteChromium.cpp |
253 UnitTests/ServerIndex.cpp | 253 UnitTestsSources/ServerIndex.cpp |
254 UnitTests/Versions.cpp | 254 UnitTestsSources/Versions.cpp |
255 UnitTests/Zip.cpp | 255 UnitTestsSources/Zip.cpp |
256 UnitTests/Lua.cpp | 256 UnitTestsSources/Lua.cpp |
257 UnitTests/main.cpp | 257 UnitTestsSources/main.cpp |
258 ) | 258 ) |
259 target_link_libraries(UnitTests ServerLibrary CoreLibrary) | 259 target_link_libraries(UnitTests ServerLibrary CoreLibrary) |
260 | 260 |
261 if (${OPENSSL_SOURCES_LENGTH} GREATER 0) | 261 if (${OPENSSL_SOURCES_LENGTH} GREATER 0) |
262 target_link_libraries(UnitTests OpenSSL) | 262 target_link_libraries(UnitTests OpenSSL) |