Browse Source

set O3 for release and g3 for debug as build flags in cmake

master
Constantin Fürst 11 months ago
parent
commit
1446d1575d
  1. 3
      benchmarks/CMakeLists.txt

3
benchmarks/CMakeLists.txt

@ -11,6 +11,9 @@ find_package(NUMA REQUIRED)
set(DML_SOURCE_DIR "../../DML/include/")
set(SOURCES main.cpp)
set(DEBUG_FLAGS "-g3" "-ggdb")
set(RELEASE_FLAGS "-O3")
add_executable(dml-benchmark ${SOURCES})
target_include_directories(dml-benchmark PRIVATE ${CMAKE_SOURCE_DIR} ${NUMA_INCLUDE_DIRS} ${DML_SOURCE_DIR})

Loading…
Cancel
Save