]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/regex/example/snippets/CMakeLists.txt
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / regex / example / snippets / CMakeLists.txt
CommitLineData
20effc67
TL
1# Copyright 2019 Mike Dev
2# Distributed under the Boost Software License, Version 1.0.
3# See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
4#
5# NOTE: CMake support for Boost.Regex is currently experimental at best
6# and we are currently only building a few examples
7
8set(examples
9 partial_regex_grep
10 partial_regex_iterate
11 partial_regex_match
12 regex_grep_example_1
13 regex_grep_example_2
14 regex_grep_example_3
15 regex_grep_example_4
16 regex_iterator_example
17 regex_match_example
18 regex_merge_example
19 regex_replace_example
20 regex_search_example
21 regex_split_example_1
22 regex_split_example_2
23 regex_token_iterator_eg_1
24 regex_token_iterator_eg_2
25)
26
27foreach( example IN LISTS examples )
28 add_executable( boost_regex_ex_${example} ${example}.cpp )
29 target_link_libraries( boost_regex_ex_${example} Boost::regex )
30endforeach()