comparison Applications/Samples/Sdl/BoostExtendedConfiguration.cmake @ 1538:d1806b4e4839

moving OrthancStone/Samples/ as Applications/Samples/
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2020 13:24:38 +0200
parents OrthancStone/Samples/Sdl/BoostExtendedConfiguration.cmake@244ad1e4e76a
children f9e3a9c21c0f
comparison
equal deleted inserted replaced
1537:de8cf5859e84 1538:d1806b4e4839
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/>.
18
19
20 if (STATIC_BUILD OR NOT USE_SYSTEM_BOOST)
21 set(BOOST_EXTENDED_SOURCES
22 ${BOOST_SOURCES_DIR}/libs/program_options/src/cmdline.cpp
23 ${BOOST_SOURCES_DIR}/libs/program_options/src/config_file.cpp
24 ${BOOST_SOURCES_DIR}/libs/program_options/src/convert.cpp
25 ${BOOST_SOURCES_DIR}/libs/program_options/src/options_description.cpp
26 ${BOOST_SOURCES_DIR}/libs/program_options/src/parsers.cpp
27 ${BOOST_SOURCES_DIR}/libs/program_options/src/positional_options.cpp
28 ${BOOST_SOURCES_DIR}/libs/program_options/src/split.cpp
29 ${BOOST_SOURCES_DIR}/libs/program_options/src/utf8_codecvt_facet.cpp
30 ${BOOST_SOURCES_DIR}/libs/program_options/src/value_semantic.cpp
31 ${BOOST_SOURCES_DIR}/libs/program_options/src/variables_map.cpp
32 ${BOOST_SOURCES_DIR}/libs/chrono/src/thread_clock.cpp
33 ${BOOST_SOURCES_DIR}/libs/chrono/src/chrono.cpp
34 ${BOOST_SOURCES_DIR}/libs/chrono/src/process_cpu_clocks.cpp
35 #${BOOST_SOURCES_DIR}/libs/program_options/src/winmain.cpp
36 )
37 add_definitions(-DBOOST_PROGRAM_OPTIONS_NO_LIB)
38 else()
39 link_libraries(boost_program_options)
40 endif()