view Resources/Samples/OrthancFramework/MicroService/CMakeLists.txt @ 3233:47fbb0467a62

Build a static library to share code between the plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 Feb 2019 10:26:32 +0100
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)