view Resources/Testing/Issue32/Cpp/CMakeLists.txt @ 4019:bf35c4628777

macro ORTHANC_FRAMEWORK_VERSION_IS_ABOVE
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Jun 2020 09:20:09 +0200
parents f6cb16413325
children
line wrap: on
line source

cmake_minimum_required(VERSION 2.8)

project(Orthanc)

set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../../../Resources/CMake)

include(${ORTHANC_ROOT}/OrthancFrameworkParameters.cmake)
set(ENABLE_WEB_CLIENT ON)
include(${ORTHANC_ROOT}/OrthancFrameworkConfiguration.cmake)

include_directories(${ORTHANC_ROOT})

add_executable(Sample
  main.cpp
  ${ORTHANC_CORE_SOURCES}
  ${AUTOGENERATED_SOURCES}
  )