@@ -22,15 +22,56 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
22
22
endif ()
23
23
24
24
add_library (stdx INTERFACE )
25
- target_include_directories (stdx INTERFACE include )
26
25
target_compile_features (stdx INTERFACE cxx_std_${CMAKE_CXX_STANDARD} )
27
26
target_compile_options (
28
- stdx
29
- INTERFACE
30
- $< $< CXX_COMPILER_ID:Clang> :-Wno-gnu-string-literal-operator-template>
31
- $< $< CXX_COMPILER_ID:Clang> :-Wno-missing-braces> )
27
+ stdx INTERFACE $< $< CXX_COMPILER_ID:Clang> :-Wno-missing-braces> )
32
28
target_link_libraries_system (stdx INTERFACE boost_mp11 fmt::fmt-header-only )
33
29
30
+ target_sources (
31
+ stdx
32
+ INTERFACE FILE_SET
33
+ stdx
34
+ TYPE
35
+ HEADERS
36
+ BASE_DIRS
37
+ include
38
+ FILES
39
+ include /stdx/algorithm.hpp
40
+ include /stdx/bit.hpp
41
+ include /stdx/bitset.hpp
42
+ include /stdx/byterator.hpp
43
+ include /stdx/cached.hpp
44
+ include /stdx/compiler.hpp
45
+ include /stdx/concepts.hpp
46
+ include /stdx/ct_conversions.hpp
47
+ include /stdx/ct_format.hpp
48
+ include /stdx/ct_string.hpp
49
+ include /stdx/cx_map.hpp
50
+ include /stdx/cx_multimap.hpp
51
+ include /stdx/cx_queue.hpp
52
+ include /stdx/cx_set.hpp
53
+ include /stdx/cx_vector.hpp
54
+ include /stdx/detail/list_common.hpp
55
+ include /stdx/for_each_n_args.hpp
56
+ include /stdx/functional.hpp
57
+ include /stdx/function_traits.hpp
58
+ include /stdx/intrusive_forward_list.hpp
59
+ include /stdx/intrusive_list.hpp
60
+ include /stdx/iterator.hpp
61
+ include /stdx/memory.hpp
62
+ include /stdx/numeric.hpp
63
+ include /stdx/optional.hpp
64
+ include /stdx/panic.hpp
65
+ include /stdx/priority.hpp
66
+ include /stdx/ranges.hpp
67
+ include /stdx/span.hpp
68
+ include /stdx/tuple_algorithms.hpp
69
+ include /stdx/tuple_destructure.hpp
70
+ include /stdx/tuple.hpp
71
+ include /stdx/type_traits.hpp
72
+ include /stdx/udls.hpp
73
+ include /stdx/utility.hpp )
74
+
34
75
if (PROJECT_IS_TOP_LEVEL )
35
76
add_docs (docs )
36
77
add_subdirectory (test )
0 commit comments