Mercurial > hg > orthanc
annotate OrthancServer/Plugins/Samples/Common/OrthancPluginsExports.cmake @ 5836:618d44e0e714 find-refactoring tip
renamed QueryMetadata into MetadataQuery
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 14 Oct 2024 16:00:55 +0200 |
parents | f7adfb22e20e |
children |
rev | line source |
---|---|
4123
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
1 # Orthanc - A Lightweight, RESTful DICOM Store |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
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:
4101
diff
changeset
|
3 # Department, University Hospital of Liege, Belgium |
5640
f7adfb22e20e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5485
diff
changeset
|
4 # Copyright (C) 2017-2023 Osimis S.A., Belgium |
f7adfb22e20e
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5485
diff
changeset
|
5 # Copyright (C) 2024-2024 Orthanc Team SRL, Belgium |
5485
48b8dae6dc77
upgrade to year 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
5185
diff
changeset
|
6 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
4123
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
7 # |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
8 # 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:
4101
diff
changeset
|
9 # 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:
4101
diff
changeset
|
10 # 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:
4101
diff
changeset
|
11 # License, or (at your option) any later version. |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
12 # |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
13 # 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:
4101
diff
changeset
|
14 # WITHOUT ANY WARRANTY; without even the implied warranty of |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
16 # General Public License for more details. |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
17 # |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
18 # 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:
4101
diff
changeset
|
19 # 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:
4101
diff
changeset
|
20 |
3d6ee570cfb2
adding missing licenses to sample plugins
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
4101
diff
changeset
|
21 |
4101 | 22 # In Orthanc <= 1.7.1, the instructions below were part of |
23 # "Compiler.cmake", and were protected by the (now unused) option | |
24 # "ENABLE_PLUGINS_VERSION_SCRIPT" in CMake | |
25 | |
26 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR | |
27 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR | |
28 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR | |
29 ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") | |
30 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/VersionScriptPlugins.map") | |
31 elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") | |
32 set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -exported_symbols_list ${CMAKE_CURRENT_LIST_DIR}/ExportedSymbolsPlugins.list") | |
33 endif() |