Mercurial > hg > orthanc-stone
comparison Applications/Samples/Sdl/Utilities.cmake @ 1589:8c5f9864545f
adding missing headers
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 22 Oct 2020 16:59:23 +0200 |
parents | d1806b4e4839 |
children | 9ac2a65d4172 |
comparison
equal
deleted
inserted
replaced
1588:b91ea9566d16 | 1589:8c5f9864545f |
---|---|
1 # Stone of Orthanc | |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
4 # Copyright (C) 2017-2020 Osimis S.A., Belgium | |
5 # | |
6 # This program is free software: you can redistribute it and/or | |
7 # modify it under the terms of the GNU Affero General Public License | |
8 # as published by the Free Software Foundation, either version 3 of | |
9 # the License, or (at your option) any later version. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, but | |
12 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 # Affero General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU Affero General Public License | |
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
1 | 18 |
2 | 19 |
3 macro(GetFilenameFromPath TargetVariable Path) | 20 macro(GetFilenameFromPath TargetVariable Path) |
4 #message(STATUS "GetFilenameFromPath (1): Path = ${Path} TargetVariable = ${${TargetVariable}}") | 21 #message(STATUS "GetFilenameFromPath (1): Path = ${Path} TargetVariable = ${${TargetVariable}}") |
5 string(REPLACE "\\" "/" PathWithFwdSlashes "${Path}") | 22 string(REPLACE "\\" "/" PathWithFwdSlashes "${Path}") |