forked from biojppm/c4core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
94 lines (87 loc) · 2.61 KB
/
Copy pathCMakeLists.txt
File metadata and controls
94 lines (87 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
include(./cmake/c4Project.cmake)
project(c4core
DESCRIPTION "Multiplatform low-level C++ utilities"
HOMEPAGE_URL "https://github.com/biojppm/c4core"
LANGUAGES CXX)
c4_project(VERSION 0.1.7
AUTHOR "Joao Paulo Magalhaes <dev@jpmag.me>")
c4_add_library(c4core
INC_DIRS
$<BUILD_INTERFACE:${C4CORE_SRC_DIR}> $<INSTALL_INTERFACE:include>
SOURCE_ROOT ${C4CORE_SRC_DIR}
SOURCES
c4/allocator.hpp
c4/base64.hpp
c4/base64.cpp
c4/blob.hpp
c4/bitmask.hpp
c4/charconv.hpp
c4/c4_pop.hpp
c4/c4_push.hpp
c4/char_traits.cpp
c4/char_traits.hpp
c4/common.hpp
c4/compiler.hpp
c4/config.hpp
c4/cpu.hpp
c4/ctor_dtor.hpp
c4/enum.hpp
c4/error.cpp
c4/error.hpp
c4/export.hpp
c4/format.hpp
c4/format.cpp
c4/hash.hpp
c4/language.hpp
c4/language.cpp
c4/memory_resource.cpp
c4/memory_resource.hpp
c4/memory_util.cpp
c4/memory_util.hpp
c4/platform.hpp
c4/preprocessor.hpp
c4/restrict.hpp
c4/span.hpp
c4/std/std.hpp
c4/std/string.hpp
c4/std/tuple.hpp
c4/std/vector.hpp
c4/substr.hpp
c4/substr_fwd.hpp
c4/szconv.hpp
c4/time.hpp
c4/time.cpp
c4/type_name.hpp
c4/types.hpp
c4/unrestrict.hpp
c4/windows.hpp
c4/windows_pop.hpp
c4/windows_push.hpp
c4/c4core.natvis
#
c4/ext/debugbreak/debugbreak.h
c4/ext/rng/rng.hpp
c4/ext/sg14/inplace_function.h
c4/ext/fast_float.hpp
c4/ext/fast_float/include/fast_float/ascii_number.h
c4/ext/fast_float/include/fast_float/bigint.h
c4/ext/fast_float/include/fast_float/decimal_to_binary.h
c4/ext/fast_float/include/fast_float/digit_comparison.h
c4/ext/fast_float/include/fast_float/fast_float.h
c4/ext/fast_float/include/fast_float/fast_table.h
c4/ext/fast_float/include/fast_float/float_common.h
c4/ext/fast_float/include/fast_float/parse_number.h
c4/ext/fast_float/include/fast_float/simple_decimal_conversion.h
)
option(C4CORE_WITH_FASTFLOAT "use fastfloat to parse floats" ON)
if(NOT C4CORE_WITH_FASTFLOAT)
target_compile_definitions(c4core PUBLIC -DC4CORE_NO_FAST_FLOAT)
endif()
#-------------------------------------------------------
c4_install_target(c4core)
c4_install_exports()
c4_pack_project()
c4_add_dev_targets()
c4_set_default_pack_properties(TYPE LIBRARY)
include(CPack)