annotate OrthancFramework/Resources/Samples/MicroService/CMakeLists.txt @ 4197:b1d528687e25

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2020 13:30:01 +0200
parents 304842a0d152
children d9473bd5ed43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4120
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
1 # Orthanc - A Lightweight, RESTful DICOM Store
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
3 # Department, University Hospital of Liege, Belgium
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
4 # Copyright (C) 2017-2020 Osimis S.A., Belgium
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
5 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
6 # This program is free software: you can redistribute it and/or
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
7 # modify it under the terms of the GNU Lesser General Public License
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
8 # as published by the Free Software Foundation, either version 3 of
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
9 # the License, or (at your option) any later version.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
10 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
11 # This program is distributed in the hope that it will be useful, but
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
14 # Lesser General Public License for more details.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
15 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
16 # You should have received a copy of the GNU Lesser General Public
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
17 # License along with this program. If not, see
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
18 # <http://www.gnu.org/licenses/>.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
19
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
20
2389
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 cmake_minimum_required(VERSION 2.8)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 project(Sample)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
25 include(${CMAKE_SOURCE_DIR}/../../CMake/OrthancFrameworkParameters.cmake)
2389
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
27 set(ENABLE_ZLIB ON)
2389
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 set(ENABLE_WEB_SERVER ON)
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
30 include(${CMAKE_SOURCE_DIR}/../../CMake/OrthancFrameworkConfiguration.cmake)
2389
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 add_executable(Sample
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 ${ORTHANC_CORE_SOURCES}
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 Sample.cpp
88402bd5dbf5 sample of a micro-service
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 )