-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
24 lines (21 loc) · 1019 Bytes
/
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
cmake_minimum_required(VERSION 3.0)
project(xerrada)
if(EXISTS ${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
else()
message(WARNING "The file conanbuildinfo.cmake doesn't exist, you have to run conan install first")
endif()
find_package (Threads)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
#add_executable(branch-prediction branch-prediction.cpp)
#add_executable(small-datastructures small-datastructures.cpp)
#add_executable(memory-allocations memory-allocations.cpp)
add_executable(xerrada main.cpp ColumnarDatabase.hpp )
#add_executable(memory-layout-matrix memory-layout-matrix.cpp)
target_link_libraries(xerrada benchmark ${CONAN_LIBS} ${CMAKE_THREAD_LIBS_INIT})
#target_link_libraries(memory-layout-matrix ${CONAN_LIBS})
#target_link_libraries(branch-prediction ${CONAN_LIBS})
#target_link_libraries(memory-allocations ${CONAN_LIBS})
#target_link_libraries(small-datastructures ${CONAN_LIBS})