annotate OrthancFramework/Resources/DcmtkTools/CMakeLists.txt @ 4049:47e9e788224c framework

removing occurrences of ORTHANC_ROOT
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 10:05:26 +0200
parents d25f4c0fa160
children 304842a0d152
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
1 # $ 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
2
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 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
4
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 project(DcmtkTools)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
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 include(${CMAKE_SOURCE_DIR}/../../Resources/CMake/Compiler.cmake)
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
8 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
9
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 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
11 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
12
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 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
14 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
15 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
16 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
17 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
18 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
19
4049
47e9e788224c removing occurrences of ORTHANC_ROOT
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
20 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
21
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 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
23 ${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
24 ${DCMTK_SOURCES}
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
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 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
28 ${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
29 )
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 target_link_libraries(getscu dcmtk)