view Resources/Testing/Issue32/Cpp/CMakeLists.txt @ 4040:052dc48c15be

don't generate embedded resources if not needed
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 10 Jun 2020 14:26:18 +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}
  )