annotate Resources/Samples/OrthancFramework/MicroService/CMakeLists.txt @ 3800:38b0f51781aa

improved error message when trying to execute a C-Find query that is not accepted by the remote modality
author Alain Mazy <alain@mazy.be>
date Wed, 01 Apr 2020 11:08:43 +0200
parents 88402bd5dbf5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2389
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 cmake_minimum_required(VERSION 2.8)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 project(Sample)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 include(${CMAKE_SOURCE_DIR}/../../../CMake/OrthancFrameworkParameters.cmake)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 set(ENABLE_WEB_SERVER ON)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 include(${CMAKE_SOURCE_DIR}/../../../CMake/OrthancFrameworkConfiguration.cmake)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 add_executable(Sample
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 ${ORTHANC_CORE_SOURCES}
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 Sample.cpp
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 )
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 include_directories(${ORTHANC_ROOT}/Core)