From 1446d1575d560d4e6a5e3cb8c34f198fdeb71786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20F=C3=BCrst?= Date: Mon, 29 Jan 2024 14:03:25 +0100 Subject: [PATCH] set O3 for release and g3 for debug as build flags in cmake --- benchmarks/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benchmarks/CMakeLists.txt b/benchmarks/CMakeLists.txt index 3980ceb..45000f1 100755 --- a/benchmarks/CMakeLists.txt +++ b/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})