annotate Plugins/Samples/WebSkeleton/CMakeLists.txt @ 1836:2faa2abbf311

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Nov 2015 17:40:25 +0100
parents a412ad57f0f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1181
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 cmake_minimum_required(VERSION 2.8)
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 project(WebSkeleton)
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 SET(STANDALONE_BUILD ON CACHE BOOL "Standalone build (all the resources are embedded, necessary for releases)")
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 SET(RESOURCES_ROOT ${CMAKE_SOURCE_DIR}/StaticResources)
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7
1425
97268448bdfc refactoring of samples
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1390
diff changeset
8 set(SAMPLES_ROOT ${CMAKE_SOURCE_DIR}/..)
97268448bdfc refactoring of samples
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1390
diff changeset
9 include(${SAMPLES_ROOT}/Common/OrthancPlugins.cmake)
1181
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10
1669
a412ad57f0f9 refactoring of sample plugins, OrthancPluginReconstructMainDicomTags
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1425
diff changeset
11 include(Framework/Framework.cmake)
a412ad57f0f9 refactoring of sample plugins, OrthancPluginReconstructMainDicomTags
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1425
diff changeset
12
1181
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 add_library(WebSkeleton SHARED
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 ${AUTOGENERATED_SOURCES}
17302d83abfd Sample plugin framework to serve static resources
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 )