Mercurial > hg > orthanc
annotate OrthancFramework/Resources/Samples/MicroService/CMakeLists.txt @ 4090:160ec8417874 framework
integration mainline->framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Jun 2020 19:33:22 +0200 |
parents | 47e9e788224c |
children | 304842a0d152 |
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 |
4049
47e9e788224c
removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4044
diff
changeset
|
5 include(${CMAKE_SOURCE_DIR}/../../CMake/OrthancFrameworkParameters.cmake) |
2389
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 |
4049
47e9e788224c
removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4044
diff
changeset
|
7 set(ENABLE_ZLIB ON) |
2389
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 set(ENABLE_WEB_SERVER ON) |
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 |
4049
47e9e788224c
removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4044
diff
changeset
|
10 include(${CMAKE_SOURCE_DIR}/../../CMake/OrthancFrameworkConfiguration.cmake) |
2389
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 |
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 add_executable(Sample |
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 ${ORTHANC_CORE_SOURCES} |
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 Sample.cpp |
88402bd5dbf5
sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 ) |