Mercurial > hg > orthanc
annotate Resources/Testing/Issue32/Cpp/CMakeLists.txt @ 3570:f05887b1d1bf Tomas-Zubiri/replaced-broken-url-with-url-from-waybac-1573762425576
Replaced broken url with url from wayback archive
author | Tomas Zubiri <me@tomaszubiri.com> |
---|---|
date | Thu, 14 Nov 2019 20:13:59 +0000 |
parents | df4f977c2f88 |
children | f6cb16413325 |
rev | line source |
---|---|
3122
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 cmake_minimum_required(VERSION 2.8) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 project(Orthanc) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}/../../../../Resources/CMake) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 include(${ORTHANC_ROOT}/OrthancFrameworkParameters.cmake) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 set(ENABLE_WEB_CLIENT ON) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 include(${ORTHANC_ROOT}/OrthancFrameworkConfiguration.cmake) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 add_definitions( |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 -DORTHANC_ENABLE_LOGGING_PLUGIN=OFF |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 ) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 include_directories(${ORTHANC_ROOT}) |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 add_executable(Sample |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 main.cpp |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 ${ORTHANC_CORE_SOURCES} |
df4f977c2f88
trying to reproduce isse 32 in C++
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 ) |