File tree 9 files changed +18
-16
lines changed
9 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (dragonbox
4
4
VERSION 1.1.3
@@ -19,11 +19,11 @@ endif()
19
19
20
20
# ---- Declare library (dragonbox) ----
21
21
22
- add_library (dragonbox INTERFACE )
23
- add_library (dragonbox::dragonbox ALIAS dragonbox)
24
-
25
22
set (dragonbox_headers include /dragonbox/dragonbox.h)
26
23
24
+ add_library (dragonbox INTERFACE ${dragonbox_headers} )
25
+ add_library (dragonbox::dragonbox ALIAS dragonbox)
26
+
27
27
target_include_directories (dragonbox
28
28
${dragonbox_warning_guard}
29
29
INTERFACE
@@ -33,9 +33,7 @@ target_compile_features(dragonbox INTERFACE cxx_std_17)
33
33
34
34
# ---- Declare library (dragonbox_to_chars) ----
35
35
36
- set (dragonbox_to_chars_headers
37
- ${dragonbox_headers}
38
- include /dragonbox/dragonbox_to_chars.h)
36
+ set (dragonbox_to_chars_headers include /dragonbox/dragonbox_to_chars.h)
39
37
40
38
set (dragonbox_to_chars_sources source /dragonbox_to_chars.cpp)
41
39
@@ -49,6 +47,8 @@ target_include_directories(dragonbox_to_chars
49
47
PUBLIC
50
48
"$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR} /include>" )
51
49
50
+ target_link_libraries (dragonbox_to_chars PUBLIC dragonbox)
51
+
52
52
target_compile_features (dragonbox_to_chars PUBLIC cxx_std_17)
53
53
54
54
# ---- Install ----
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (grisu_exact LANGUAGES CXX)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (ryu_cmake LANGUAGES C)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (schubfach LANGUAGES CXX)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (benchmark LANGUAGES CXX)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (dragonbox_common LANGUAGES CXX)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (dragonbox_meta LANGUAGES CXX)
4
4
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (dragonbox_simple LANGUAGES CXX)
4
4
5
- add_library (dragonbox_simple INTERFACE include /simple_dragonbox.h)
5
+ set (dragonbox_simple_headers include /simple_dragonbox.h)
6
+
7
+ add_library (dragonbox_simple INTERFACE ${dragonbox_simple_headers} )
6
8
add_library (dragonbox::simple ALIAS dragonbox_simple)
7
9
8
10
target_include_directories (dragonbox_simple
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.14 FATAL_ERROR)
1
+ cmake_minimum_required (VERSION 3.19 FATAL_ERROR)
2
2
3
3
project (dragonboxTests LANGUAGES CXX)
4
4
You can’t perform that action at this time.
0 commit comments