Mercurial > hg > orthanc-stone
diff 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 |
line wrap: on
line diff
--- a/UnitTestsSources/CMakeLists.txt Wed Apr 29 20:50:53 2020 +0200 +++ b/UnitTestsSources/CMakeLists.txt Wed Apr 29 21:10:49 2020 +0200 @@ -1,6 +1,10 @@ cmake_minimum_required(VERSION 2.8.3) project(OrthancStone) +set(ORTHANC_FRAMEWORK_SOURCE "path") +set(ORTHANC_FRAMEWORK_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../orthanc) +set(STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../) + include(../Resources/CMake/OrthancStoneParameters.cmake) set(ENABLE_STONE_DEPRECATED ON) # Need deprecated classes for these samples @@ -11,7 +15,7 @@ set(ENABLE_SDL OFF CACHE BOOL "Target SDL Native application") set(ENABLE_WASM OFF CACHE BOOL "Target WASM application") -set(ENABLE_UNITTESTS ON +set(ENABLE_UNITTESTS ON BOOL "Enable unit tests") if (ENABLE_WASM)