|
|
@ -56,16 +56,9 @@ add_definitions(-DBARRIER_MODE="${BARRIER_MODE}") |
|
|
|
eval(BUFFER_LIMIT "unlimited;limited" "unlimited") |
|
|
|
add_definitions(-DBUFFER_LIMIT=$<STREQUAL:${BUFFER_LIMIT},limited>) |
|
|
|
|
|
|
|
eval(QUERY "simple;complex" "simple") |
|
|
|
add_definitions(-DQUERY=$<STREQUAL:${QUERY},simple>) |
|
|
|
|
|
|
|
eval(THREAD_FACTOR "1;2;3;4;5;6;7;8;9;10" "1") |
|
|
|
add_definitions(-DTHREAD_GROUP_MULTIPLIER=${THREAD_FACTOR}) |
|
|
|
|
|
|
|
# build directory |
|
|
|
set(CMAKE_BINARY_DIR "../bin") #relative to inside build |
|
|
|
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}) |
|
|
|
|
|
|
|
# include directories |
|
|
|
include_directories(src/utils) |
|
|
|
include_directories(src/algorithm) |
|
|
|