Mercurial > hg > orthanc
annotate Plugins/Samples/CustomImageDecoder/CMakeLists.txt @ 2176:fead5549aaa7
introduction of HAS_ORTHANC_EXCEPTION to avoid PluginException if not necessary
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 25 Nov 2016 12:07:36 +0100 |
parents | a71d74987090 |
children |
rev | line source |
---|---|
1828
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 cmake_minimum_required(VERSION 2.8) |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
3 project(CustomImageDecoder) |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
4 |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
5 set(SAMPLES_ROOT ${CMAKE_SOURCE_DIR}/..) |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 include(${SAMPLES_ROOT}/Common/OrthancPlugins.cmake) |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 |
a71d74987090
sample plugin: CustomImageDecoder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 add_library(PluginTest SHARED Plugin.cpp) |