annotate Resources/DcmtkTools/CMakeLists.txt @ 3979:464d40d572bd

removed unused CMake settings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 May 2020 21:25:23 +0200
parents 4f09a6a2b369
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3952
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 # $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=../../Resources/LinuxStandardBaseToolchain.cmake -G Ninja
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
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 include(${ORTHANC_ROOT}/Resources/CMake/Compiler.cmake)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 include(${ORTHANC_ROOT}/Resources/CMake/DownloadPackage.cmake)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 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
12 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
13
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 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
15 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
16 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
17 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
18 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
19 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
20
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 include(${ORTHANC_ROOT}/Resources/CMake/DcmtkConfiguration.cmake)
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 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
24 ${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
25 ${DCMTK_SOURCES}
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
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 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
29 ${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
30 )
4f09a6a2b369 LSB compilation of getscu command-line tool from DCMTK for integration tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 target_link_libraries(getscu dcmtk)