We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12bf0d5 commit 44e33daCopy full SHA for 44e33da
3 files changed
CMakeLists.txt
@@ -6,6 +6,12 @@ project(interval-tree)
6
7
add_library(interval-tree INTERFACE)
8
9
+if(INT_TREE_USE_OPTIONAL_POLYFILL)
10
+ target_compile_definitions(interval-tree INTERFACE
11
+ -DINTERVAL_TREE_USE_OPTIONAL_POLYFILL
12
+ )
13
+endif()
14
+
15
target_include_directories(interval-tree INTERFACE ./include)
16
17
if(INT_TREE_DRAW_EXAMPLES)
cmake/options.cmake
@@ -1,2 +1,4 @@
1
option(INT_TREE_DRAW_EXAMPLES "Draws some examples in a subdirectory. run make_drawable.sh before this" OFF)
2
-option(INT_TREE_ENABLE_TESTS "Enable tests?" OFF)
+option(INT_TREE_ENABLE_TESTS "Enable tests?" OFF)
3
+# You generally do not want to turn this on, unless you are testing the library.
4
+option(INT_TREE_USE_OPTIONAL_POLYFILL "Use optional polyfill?" OFF)
0 commit comments