Mercurial > hg > orthanc
annotate Resources/Samples/OrthancFramework/MicroService/CMakeLists.txt @ 3524:d96379a965de
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Sep 2019 18:06:56 +0200 |
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) |