Mercurial > hg > orthanc-stone
comparison UnitTestsSources/CMakeLists.txt @ 1403:5630c2fb7b0f
cleanup + reactivate UnitTests
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 29 Apr 2020 21:10:49 +0200 |
parents | 1c2d065ba372 |
children |
comparison
equal
deleted
inserted
replaced
1402:65e1e4b08302 | 1403:5630c2fb7b0f |
---|---|
1 cmake_minimum_required(VERSION 2.8.3) | 1 cmake_minimum_required(VERSION 2.8.3) |
2 project(OrthancStone) | 2 project(OrthancStone) |
3 | |
4 set(ORTHANC_FRAMEWORK_SOURCE "path") | |
5 set(ORTHANC_FRAMEWORK_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../orthanc) | |
6 set(STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../) | |
3 | 7 |
4 include(../Resources/CMake/OrthancStoneParameters.cmake) | 8 include(../Resources/CMake/OrthancStoneParameters.cmake) |
5 | 9 |
6 set(ENABLE_STONE_DEPRECATED ON) # Need deprecated classes for these samples | 10 set(ENABLE_STONE_DEPRECATED ON) # Need deprecated classes for these samples |
7 | 11 |
9 add_definitions(-DOPENSSL_NO_CAPIENG=1) | 13 add_definitions(-DOPENSSL_NO_CAPIENG=1) |
10 endif() | 14 endif() |
11 | 15 |
12 set(ENABLE_SDL OFF CACHE BOOL "Target SDL Native application") | 16 set(ENABLE_SDL OFF CACHE BOOL "Target SDL Native application") |
13 set(ENABLE_WASM OFF CACHE BOOL "Target WASM application") | 17 set(ENABLE_WASM OFF CACHE BOOL "Target WASM application") |
14 set(ENABLE_UNITTESTS ON | 18 set(ENABLE_UNITTESTS ON BOOL "Enable unit tests") |
15 | 19 |
16 | 20 |
17 if (ENABLE_WASM) | 21 if (ENABLE_WASM) |
18 set(ORTHANC_SANDBOXED ON) | 22 set(ORTHANC_SANDBOXED ON) |
19 if (ENABLE_SDL) | 23 if (ENABLE_SDL) |