view Resources/Samples/OrthancFramework/MicroService/CMakeLists.txt @ 3364:ea299aca479b

Added workaround for lack of support of __cplusplus in Visual Studio
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 07 May 2019 13:21:41 +0200
parents 88402bd5dbf5
children
line wrap: on
line source

cmake_minimum_required(VERSION 2.8)

project(Sample)

include(${CMAKE_SOURCE_DIR}/../../../CMake/OrthancFrameworkParameters.cmake)

set(ENABLE_WEB_SERVER ON)

include(${CMAKE_SOURCE_DIR}/../../../CMake/OrthancFrameworkConfiguration.cmake)

add_executable(Sample
  ${ORTHANC_CORE_SOURCES}
  Sample.cpp
  )

include_directories(${ORTHANC_ROOT}/Core)