Mercurial > hg > orthanc
annotate Resources/Samples/OrthancFramework/MicroService/CMakeLists.txt @ 2955:bbfd95a0c429
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Dec 2018 14:59:23 +0100 |
parents | 88402bd5dbf5 |
children |
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) |