File tree Expand file tree Collapse file tree 3 files changed +439
-1
lines changed Expand file tree Collapse file tree 3 files changed +439
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ project(interval-tree)
6
6
7
7
add_library (interval-tree INTERFACE )
8
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
+
9
15
target_include_directories (interval-tree INTERFACE ./include )
10
16
11
17
if (INT_TREE_DRAW_EXAMPLES )
Original file line number Diff line number Diff line change 1
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 )
2
+ 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 )
You can’t perform that action at this time.
0 commit comments