-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
43 lines (39 loc) · 1.29 KB
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 3.9)
project(stx_btree)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "-O3 -ftree-vectorize -march=native")
include_directories(include)
include_directories(include/stx)
#include_directories(memprofile)
include_directories(testsuite)
#include_directories(wxbtreedemo)
add_executable(stx_btree
include/stx/btree.h
include/stx/btree_map.h
include/stx/btree_multimap.h
include/stx/btree_multiset.h
include/stx/btree_set.h
# memprofile/main.cc
# memprofile/malloc_count.c
# memprofile/malloc_count.h
# memprofile/memprofile.h
# speedtest/speedtest-tune.cc
# speedtest/speedtest.cc
# testsuite/BoundTest.cc
testsuite/BulkLoadTest.cc
# testsuite/DumpRestoreTest.cc
# testsuite/InstantiationTest.cc
# testsuite/IteratorTest.cc
# testsuite/LargeTest.cc
# testsuite/RelationTest.cc
# testsuite/SimpleTest.cc
# testsuite/StructureTest.cc
testsuite/tpunit.cc
testsuite/tpunit.h)
# wxbtreedemo/WMain.cpp
# wxbtreedemo/WMain.h
# wxbtreedemo/WMain_wxg.cpp
# wxbtreedemo/WMain_wxg.h
# wxbtreedemo/WTreeDrawing.cpp
# wxbtreedemo/WTreeDrawing.h)
target_compile_definitions(stx_btree PUBLIC BTREE_DEBUG)