annotate Resources/Samples/OrthancCppClient/OrthancCppClient.cmake @ 565:c931ac02db82 find-move-scp

refactoring of find class
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Sep 2013 16:58:27 +0200
parents 4f5b4b0fa626
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
481
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 include(${ORTHANC_ROOT}/Resources/CMake/DownloadPackage.cmake)
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 include(${ORTHANC_ROOT}/Resources/CMake/JsonCppConfiguration.cmake)
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 include(${ORTHANC_ROOT}/Resources/CMake/LibCurlConfiguration.cmake)
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 include(${ORTHANC_ROOT}/Resources/CMake/LibPngConfiguration.cmake)
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 include(${ORTHANC_ROOT}/Resources/CMake/BoostConfiguration.cmake)
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 if (${CMAKE_COMPILER_IS_GNUCXX})
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 set(CMAKE_C_FLAGS "-Wall -pedantic -Wno-implicit-function-declaration") # --std=c99 makes libcurl not to compile
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 set(CMAKE_CXX_FLAGS "-Wall -pedantic -Wno-long-long -Wno-variadic-macros")
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 set(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 elseif (${MSVC})
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 endif()
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 set(ORTHANC_CPP_CLIENT_SOURCES
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 ${THIRD_PARTY_SOURCES}
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 ${ORTHANC_ROOT}/Core/OrthancException.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 ${ORTHANC_ROOT}/Core/Enumerations.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 ${ORTHANC_ROOT}/Core/Toolbox.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 ${ORTHANC_ROOT}/Core/HttpClient.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 ${ORTHANC_ROOT}/Core/MultiThreading/ArrayFilledByThreads.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 ${ORTHANC_ROOT}/Core/MultiThreading/ThreadedCommandProcessor.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 ${ORTHANC_ROOT}/Core/MultiThreading/SharedMessageQueue.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 ${ORTHANC_ROOT}/Core/FileFormats/PngReader.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 ${ORTHANC_ROOT}/OrthancCppClient/OrthancConnection.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 ${ORTHANC_ROOT}/OrthancCppClient/Series.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 ${ORTHANC_ROOT}/OrthancCppClient/Study.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 ${ORTHANC_ROOT}/OrthancCppClient/Instance.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30 ${ORTHANC_ROOT}/OrthancCppClient/Patient.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31 ${ORTHANC_ROOT}/Resources/sha1/sha1.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 ${ORTHANC_ROOT}/Resources/md5/md5.c
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 ${ORTHANC_ROOT}/Resources/base64/base64.cpp
4f5b4b0fa626 VTK sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34 )