Mercurial > hg > orthanc
annotate Resources/CMake/BoostConfiguration.cmake @ 2063:ed383e7a6753
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jul 2016 15:50:11 +0200 |
parents | 54417b0831c4 |
children | 272094362301 |
rev | line source |
---|---|
735 | 1 if (STATIC_BUILD OR NOT USE_SYSTEM_BOOST) |
2 set(BOOST_STATIC 1) | |
3 else() | |
4 include(FindBoost) | |
5 | |
6 set(BOOST_STATIC 0) | |
7 #set(Boost_DEBUG 1) | |
8 #set(Boost_USE_STATIC_LIBS ON) | |
9 | |
10 find_package(Boost | |
1932
2d46e378960d
ORTHANC_BOOST_COMPONENTS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1931
diff
changeset
|
11 COMPONENTS filesystem thread system date_time regex locale ${ORTHANC_BOOST_COMPONENTS}) |
735 | 12 |
13 if (NOT Boost_FOUND) | |
14 message(FATAL_ERROR "Unable to locate Boost on this system") | |
15 endif() | |
16 | |
17 # Boost releases 1.44 through 1.47 supply both V2 and V3 filesystem | |
18 # http://www.boost.org/doc/libs/1_46_1/libs/filesystem/v3/doc/index.htm | |
19 if (${Boost_VERSION} LESS 104400) | |
20 add_definitions( | |
21 -DBOOST_HAS_FILESYSTEM_V3=0 | |
22 ) | |
23 else() | |
24 add_definitions( | |
25 -DBOOST_HAS_FILESYSTEM_V3=1 | |
26 -DBOOST_FILESYSTEM_VERSION=3 | |
27 ) | |
28 endif() | |
29 | |
30 #if (${Boost_VERSION} LESS 104800) | |
31 # boost::locale is only available from 1.48.00 | |
32 #message("Too old version of Boost (${Boost_LIB_VERSION}): Building the static version") | |
33 # set(BOOST_STATIC 1) | |
34 #endif() | |
35 | |
36 include_directories(${Boost_INCLUDE_DIRS}) | |
37 link_libraries(${Boost_LIBRARIES}) | |
38 endif() | |
39 | |
40 | |
41 if (BOOST_STATIC) | |
1931
687ff92d173b
Upgrade to Boost 1.60.0 for static builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1830
diff
changeset
|
42 # Parameters for Boost 1.60.0 |
687ff92d173b
Upgrade to Boost 1.60.0 for static builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1830
diff
changeset
|
43 set(BOOST_NAME boost_1_60_0) |
687ff92d173b
Upgrade to Boost 1.60.0 for static builds
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1830
diff
changeset
|
44 set(BOOST_BCP_SUFFIX bcpdigest-1.0.1) |
1991 | 45 set(BOOST_MD5 "a789f8ec2056ad1c2d5f0cb64687cc7b") |
1537
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1473
diff
changeset
|
46 set(BOOST_URL "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/${BOOST_NAME}_${BOOST_BCP_SUFFIX}.tar.gz") |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1473
diff
changeset
|
47 set(BOOST_FILESYSTEM_SOURCES_DIR "${BOOST_NAME}/libs/filesystem/src") |
735 | 48 set(BOOST_SOURCES_DIR ${CMAKE_BINARY_DIR}/${BOOST_NAME}) |
1537
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1473
diff
changeset
|
49 |
fbf763bb1fa3
error detection in patches
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1473
diff
changeset
|
50 DownloadPackage(${BOOST_MD5} ${BOOST_URL} "${BOOST_SOURCES_DIR}") |
735 | 51 |
52 set(BOOST_SOURCES) | |
927 | 53 |
890 | 54 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR |
930 | 55 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR |
1337 | 56 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR |
2057 | 57 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR |
58 ${CMAKE_SYSTEM_NAME} STREQUAL "PNaCl") | |
735 | 59 list(APPEND BOOST_SOURCES |
2063 | 60 ${BOOST_SOURCES_DIR}/libs/atomic/src/lockpool.cpp |
735 | 61 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/once.cpp |
62 ${BOOST_SOURCES_DIR}/libs/thread/src/pthread/thread.cpp | |
63 ) | |
64 add_definitions( | |
65 -DBOOST_LOCALE_WITH_ICONV=1 | |
2018
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
66 -DBOOST_LOCALE_NO_WINAPI_BACKEND=1 |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
67 -DBOOST_LOCALE_NO_STD_BACKEND=1 |
735 | 68 ) |
69 | |
2057 | 70 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase" OR |
71 ${CMAKE_SYSTEM_NAME} STREQUAL "PNaCl") | |
735 | 72 add_definitions(-DBOOST_HAS_SCHED_YIELD=1) |
73 endif() | |
74 | |
75 elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") | |
76 list(APPEND BOOST_SOURCES | |
77 ${BOOST_SOURCES_DIR}/libs/thread/src/win32/tss_dll.cpp | |
78 ${BOOST_SOURCES_DIR}/libs/thread/src/win32/thread.cpp | |
79 ${BOOST_SOURCES_DIR}/libs/thread/src/win32/tss_pe.cpp | |
80 ${BOOST_FILESYSTEM_SOURCES_DIR}/windows_file_codecvt.cpp | |
81 ) | |
1094
1b905ad6c913
Replace wconv by iconv under Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
930
diff
changeset
|
82 |
1b905ad6c913
Replace wconv by iconv under Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
930
diff
changeset
|
83 # Starting with release 0.8.2, Orthanc statically links against |
1b905ad6c913
Replace wconv by iconv under Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
930
diff
changeset
|
84 # libiconv, even on Windows. Indeed, the "WCONV" library of |
1b905ad6c913
Replace wconv by iconv under Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
930
diff
changeset
|
85 # Windows XP seems not to support properly several codepages |
1b905ad6c913
Replace wconv by iconv under Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
930
diff
changeset
|
86 # (notably "Latin3", "Hebrew", and "Arabic"). |
1b905ad6c913
Replace wconv by iconv under Windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
930
diff
changeset
|
87 |
1323
5a92665dee23
Sample plugin: Serve folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1097
diff
changeset
|
88 if (USE_BOOST_ICONV) |
5a92665dee23
Sample plugin: Serve folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1097
diff
changeset
|
89 include(${ORTHANC_ROOT}/Resources/CMake/LibIconvConfiguration.cmake) |
5a92665dee23
Sample plugin: Serve folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1097
diff
changeset
|
90 else() |
5a92665dee23
Sample plugin: Serve folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1097
diff
changeset
|
91 add_definitions(-DBOOST_LOCALE_WITH_WCONV=1) |
5a92665dee23
Sample plugin: Serve folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1097
diff
changeset
|
92 endif() |
927 | 93 |
2018
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
94 add_definitions( |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
95 -DBOOST_LOCALE_NO_POSIX_BACKEND=1 |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
96 -DBOOST_LOCALE_NO_STD_BACKEND=1 |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
97 ) |
735 | 98 else() |
99 message(FATAL_ERROR "Support your platform here") | |
100 endif() | |
101 | |
927 | 102 if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") |
103 list(APPEND BOOST_SOURCES | |
104 ${BOOST_SOURCES_DIR}/libs/filesystem/src/utf8_codecvt_facet.cpp | |
105 ) | |
106 endif() | |
107 | |
735 | 108 aux_source_directory(${BOOST_SOURCES_DIR}/libs/regex/src BOOST_REGEX_SOURCES) |
109 | |
110 list(APPEND BOOST_SOURCES | |
111 ${BOOST_REGEX_SOURCES} | |
112 ${BOOST_SOURCES_DIR}/libs/date_time/src/gregorian/greg_month.cpp | |
113 ${BOOST_SOURCES_DIR}/libs/locale/src/encoding/codepage.cpp | |
114 ${BOOST_SOURCES_DIR}/libs/system/src/error_code.cpp | |
115 ) | |
116 | |
2063 | 117 if (${CMAKE_SYSTEM_NAME} STREQUAL "PNaCl") |
118 # boost::filesystem is not available on PNaCl | |
119 add_definitions( | |
120 -DBOOST_HAS_FILESYSTEM_V3=0 | |
121 -D__INTEGRITY=1 | |
122 -DORTHANC_SANDBOXED=1 | |
123 ) | |
124 else() | |
125 add_definitions(-DBOOST_HAS_FILESYSTEM_V3=1) | |
126 list(APPEND BOOST_SOURCES | |
127 ${BOOST_FILESYSTEM_SOURCES_DIR}/codecvt_error_category.cpp | |
128 ${BOOST_FILESYSTEM_SOURCES_DIR}/operations.cpp | |
129 ${BOOST_FILESYSTEM_SOURCES_DIR}/path.cpp | |
130 ${BOOST_FILESYSTEM_SOURCES_DIR}/path_traits.cpp | |
131 ) | |
132 endif() | |
133 | |
2018
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
134 if (USE_BOOST_LOCALE_BACKENDS) |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
135 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
136 ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" OR |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
137 ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" OR |
2057 | 138 ${CMAKE_SYSTEM_NAME} STREQUAL "kFreeBSD" OR |
139 ${CMAKE_SYSTEM_NAME} STREQUAL "PNaCl") | |
2018
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
140 list(APPEND BOOST_SOURCES |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
141 ${BOOST_SOURCES_DIR}/libs/locale/src/posix/codecvt.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
142 ${BOOST_SOURCES_DIR}/libs/locale/src/posix/collate.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
143 ${BOOST_SOURCES_DIR}/libs/locale/src/posix/converter.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
144 ${BOOST_SOURCES_DIR}/libs/locale/src/posix/numeric.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
145 ${BOOST_SOURCES_DIR}/libs/locale/src/posix/posix_backend.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
146 ) |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
147 elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
148 list(APPEND BOOST_SOURCES |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
149 ${BOOST_SOURCES_DIR}/libs/locale/src/win32/collate.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
150 ${BOOST_SOURCES_DIR}/libs/locale/src/win32/converter.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
151 ${BOOST_SOURCES_DIR}/libs/locale/src/win32/lcid.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
152 ${BOOST_SOURCES_DIR}/libs/locale/src/win32/numeric.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
153 ${BOOST_SOURCES_DIR}/libs/locale/src/win32/win_backend.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
154 ) |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
155 else() |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
156 message(FATAL_ERROR "Support your platform here") |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
157 endif() |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
158 |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
159 list(APPEND BOOST_SOURCES |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
160 ${BOOST_REGEX_SOURCES} |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
161 ${BOOST_SOURCES_DIR}/libs/date_time/src/gregorian/greg_month.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
162 ${BOOST_SOURCES_DIR}/libs/system/src/error_code.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
163 |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
164 ${BOOST_FILESYSTEM_SOURCES_DIR}/codecvt_error_category.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
165 ${BOOST_FILESYSTEM_SOURCES_DIR}/operations.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
166 ${BOOST_FILESYSTEM_SOURCES_DIR}/path.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
167 ${BOOST_FILESYSTEM_SOURCES_DIR}/path_traits.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
168 |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
169 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/generator.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
170 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/date_time.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
171 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/formatting.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
172 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/ids.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
173 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/localization_backend.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
174 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/message.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
175 ${BOOST_SOURCES_DIR}/libs/locale/src/shared/mo_lambda.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
176 ${BOOST_SOURCES_DIR}/libs/locale/src/util/codecvt_converter.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
177 ${BOOST_SOURCES_DIR}/libs/locale/src/util/default_locale.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
178 ${BOOST_SOURCES_DIR}/libs/locale/src/util/gregorian.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
179 ${BOOST_SOURCES_DIR}/libs/locale/src/util/info.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
180 ${BOOST_SOURCES_DIR}/libs/locale/src/util/locale_data.cpp |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
181 ) |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
182 endif() |
300599489cab
USE_BOOST_LOCALE_BACKENDS
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1991
diff
changeset
|
183 |
735 | 184 add_definitions( |
185 # Static build of Boost | |
186 -DBOOST_ALL_NO_LIB | |
187 -DBOOST_ALL_NOLIB | |
188 -DBOOST_DATE_TIME_NO_LIB | |
189 -DBOOST_THREAD_BUILD_LIB | |
190 -DBOOST_PROGRAM_OPTIONS_NO_LIB | |
191 -DBOOST_REGEX_NO_LIB | |
192 -DBOOST_SYSTEM_NO_LIB | |
193 -DBOOST_LOCALE_NO_LIB | |
194 -DBOOST_HAS_LOCALE=1 | |
195 ) | |
196 | |
1415 | 197 if (CMAKE_COMPILER_IS_GNUCXX) |
735 | 198 add_definitions(-isystem ${BOOST_SOURCES_DIR}) |
199 endif() | |
200 | |
201 include_directories( | |
202 ${BOOST_SOURCES_DIR} | |
203 ) | |
204 | |
205 source_group(ThirdParty\\Boost REGULAR_EXPRESSION ${BOOST_SOURCES_DIR}/.*) | |
206 else() | |
207 add_definitions( | |
915
703bef350e89
Orthanc now relies entirely on boost::locale
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
890
diff
changeset
|
208 -DBOOST_HAS_LOCALE=1 |
735 | 209 ) |
210 endif() | |
1397 | 211 |
212 | |
213 add_definitions( | |
214 -DBOOST_HAS_DATE_TIME=1 | |
215 -DBOOST_HAS_REGEX=1 | |
216 ) |