Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Samples/WebDavFilesystem/CMakeLists.txt @ 4943:47d734fa30f6
adding function OrthancPluginRegisterWebDavCollection() to the plugin SDK
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Mar 2022 17:21:02 +0100 |
parents | |
children | 0ea402b4d901 |
comparison
equal
deleted
inserted
replaced
4942:bd7ad1cb40b6 | 4943:47d734fa30f6 |
---|---|
1 # Orthanc - A Lightweight, RESTful DICOM Store | |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
4 # Copyright (C) 2017-2022 Osimis S.A., Belgium | |
5 # Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | |
6 # | |
7 # This program is free software: you can redistribute it and/or | |
8 # modify it under the terms of the GNU General Public License as | |
9 # published by the Free Software Foundation, either version 3 of the | |
10 # License, or (at your option) any later version. | |
11 # | |
12 # This program is distributed in the hope that it will be useful, but | |
13 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 # General Public License for more details. | |
16 # | |
17 # You should have received a copy of the GNU General Public License | |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | |
20 | |
21 cmake_minimum_required(VERSION 2.8) | |
22 | |
23 project(WebDavFilesystem) | |
24 | |
25 SET(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)") | |
26 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") | |
27 | |
28 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") | |
29 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of boost") | |
30 | |
31 include(${CMAKE_SOURCE_DIR}/../Common/OrthancPlugins.cmake) | |
32 include(${CMAKE_SOURCE_DIR}/../../../../OrthancFramework/Resources/CMake/JsonCppConfiguration.cmake) | |
33 include(${CMAKE_SOURCE_DIR}/../../../../OrthancFramework/Resources/CMake/BoostConfiguration.cmake) | |
34 | |
35 add_definitions(-DHAS_ORTHANC_EXCEPTION=0) | |
36 | |
37 add_library(WebDavFilesystem SHARED | |
38 Plugin.cpp | |
39 ${CMAKE_SOURCE_DIR}/../Common/OrthancPluginCppWrapper.cpp | |
40 ${JSONCPP_SOURCES} | |
41 ${BOOST_SOURCES} | |
42 ) |