annotate OrthancServer/Plugins/Samples/AutomatedJpeg2kCompression/CMakeLists.txt @ 5485:48b8dae6dc77

upgrade to year 2024
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Jan 2024 15:10:42 +0100
parents fddb5d8d0021
children f7adfb22e20e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4123
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
1 # Orthanc - A Lightweight, RESTful DICOM Store
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
3 # Department, University Hospital of Liege, Belgium
5485
48b8dae6dc77 upgrade to year 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5357
diff changeset
4 # Copyright (C) 2017-2024 Osimis S.A., Belgium
48b8dae6dc77 upgrade to year 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5357
diff changeset
5 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
4123
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
6 #
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
7 # This program is free software: you can redistribute it and/or
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
8 # modify it under the terms of the GNU General Public License as
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
9 # published by the Free Software Foundation, either version 3 of the
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
10 # License, or (at your option) any later version.
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
11 #
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
12 # This program is distributed in the hope that it will be useful, but
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
15 # General Public License for more details.
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
16 #
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
17 # You should have received a copy of the GNU General Public License
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
19
3d6ee570cfb2 adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4050
diff changeset
20
1816
87c069c94ac9 plugin sample: automated jpeg2k compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 cmake_minimum_required(VERSION 2.8)
87c069c94ac9 plugin sample: automated jpeg2k compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22
87c069c94ac9 plugin sample: automated jpeg2k compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 project(Basic)
87c069c94ac9 plugin sample: automated jpeg2k compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24
4050
cd363608551a fix paths
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 4044
diff changeset
25 include(${CMAKE_SOURCE_DIR}/../Common/OrthancPlugins.cmake)
1816
87c069c94ac9 plugin sample: automated jpeg2k compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26
87c069c94ac9 plugin sample: automated jpeg2k compression
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 add_library(AutomatedJpeg2kCompression SHARED Plugin.cpp)
5357
fddb5d8d0021 Prevent the leak of the full path of the source files in the binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5185
diff changeset
28
fddb5d8d0021 Prevent the leak of the full path of the source files in the binaries
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 5185
diff changeset
29 DefineSourceBasenameForTarget(AutomatedJpeg2kCompression)