]> git.lyx.org Git - features.git/blob - 3rdparty/boost/libs/regex/src/CMakeLists.txt
Update to boost 1.72
[features.git] / 3rdparty / boost / libs / regex / src / CMakeLists.txt
1 #
2 # Copyright Troy D. Straszheim
3 #
4 # Distributed under the Boost Software License, Version 1.0.
5 # See http://www.boost.org/LICENSE_1_0.txt
6 #
7 # Look for the ICU library. If we find it, we'll compile in support for ICU
8 include(FindICU)
9 set(BOOST_REGEX_LIBRARIES)
10 if (ICU_FOUND AND ICU_I18N_FOUND)
11   add_definitions(-DBOOST_HAS_ICU=1)
12   include_directories(${ICU_INCLUDE_DIRS})
13   set(BOOST_REGEX_LIBRARIES ${ICU_LIBRARIES} ${ICU_I18N_LIBRARIES})
14 endif (ICU_FOUND AND ICU_I18N_FOUND)
15  
16 boost_add_library(boost_regex
17    c_regex_traits.cpp
18    cpp_regex_traits.cpp
19    cregex.cpp
20    fileiter.cpp
21    instances.cpp
22    posix_api.cpp
23    regex.cpp
24    regex_debug.cpp
25    regex_raw_buffer.cpp
26    regex_traits_defaults.cpp
27    static_mutex.cpp
28    w32_regex_traits.cpp
29    wc_regex_traits.cpp
30    wide_posix_api.cpp
31    winstances.cpp 
32    usinstances.cpp 
33    LINK_LIBS ${BOOST_REGEX_LIBRARIES}
34    SHARED_COMPILE_FLAGS -DBOOST_REGEX_DYN_LINK=1)
35
36
37
38
39