annotate OrthancFramework/Resources/DcmtkTools/CMakeLists.txt @ 5253:1700fe5c9737 db-protobuf

integration mainline->db-protobuf
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 08 Apr 2023 11:44:05 +0200
parents 0ea402b4d901
children 48b8dae6dc77
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
5185
0ea402b4d901 upgrade to year 2023
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4870
diff changeset
4 # Copyright (C) 2017-2023 Osimis S.A., Belgium
0ea402b4d901 upgrade to year 2023
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4870
diff changeset
5 # Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
4120
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
6 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
7 # 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
8 # 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
9 # 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
10 # the License, or (at your option) any later version.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
11 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
12 # 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
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
14 # 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
15 # Lesser General Public License for more details.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
16 #
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
17 # 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
18 # License along with this program. If not, see
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
19 # <http://www.gnu.org/licenses/>.
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
20
304842a0d152 adding missing license headers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4049
diff changeset
21
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
22 # $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../../Resources/Toolchains/LinuxStandardBaseToolchain.cmake -G Ninja
3952
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 cmake_minimum_required(VERSION 2.8)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 project(DcmtkTools)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
28 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/Compiler.cmake)
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
29 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/DownloadPackage.cmake)
3952
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 set(STATIC_BUILD ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 set(ALLOW_DOWNLOADS ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 set(DCMTK_STATIC_VERSION "3.6.5" CACHE STRING "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 set(ENABLE_DCMTK_JPEG ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 set(ENABLE_DCMTK_JPEG_LOSSLESS ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37 set(ENABLE_DCMTK_LOG ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 set(ENABLE_DCMTK_NETWORKING ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 set(ENABLE_DCMTK_TRANSCODING ON CACHE BOOL "")
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
41 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/DcmtkConfiguration.cmake)
3952
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
43 add_library(dcmtk STATIC
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
44 ${CMAKE_SOURCE_DIR}/dummy.cpp
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
45 ${DCMTK_SOURCES}
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
46 )
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
47
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48 add_executable(getscu
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49 ${DCMTK_SOURCES_DIR}/dcmnet/apps/getscu.cc
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 )
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 target_link_libraries(getscu dcmtk)