disable tracy in flake instead of CMakeList.txt
This commit is contained in:
@ -21,12 +21,12 @@ if(USE_TRACY)
|
|||||||
option(TRACY_ON_DEMAND "" ON)
|
option(TRACY_ON_DEMAND "" ON)
|
||||||
|
|
||||||
# Enable tracy macros in the application. Uses a LOT of memory.
|
# Enable tracy macros in the application. Uses a LOT of memory.
|
||||||
# add_compile_definitions(TRACY)
|
add_compile_definitions(TRACY)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wno-unused-parameter -Wunreachable-code")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wno-unused-parameter -Wunreachable-code")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O3 -ggdb -fsanitize=undefined") # -fsanitize=address already fails on InitWindow()
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O2 -ggdb") # -fsanitize=address already fails on InitWindow(), -fsanitize=undefined, -fsanitize=leak
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -march=native")
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -march=native")
|
||||||
|
|
||||||
message("-- CMAKE_C_FLAGS: ${CMAKE_C_FLAGS}")
|
message("-- CMAKE_C_FLAGS: ${CMAKE_C_FLAGS}")
|
||||||
message("-- CMAKE_C_FLAGS_DEBUG: ${CMAKE_C_FLAGS_DEBUG}")
|
message("-- CMAKE_C_FLAGS_DEBUG: ${CMAKE_C_FLAGS_DEBUG}")
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
./cmake-build-release/compile_commands.json
|
./cmake-build-debug/compile_commands.json
|
||||||
@ -22,6 +22,9 @@ R66421231....1213..31........ba..121212..21................1221..........21..
|
|||||||
// RushHour 4
|
// RushHour 4
|
||||||
R664231....12....1221......12..ba..1212..21..12....12......21......21..21....
|
R664231....12....1221......12..ba..1212..21..12....12......21......21..21....
|
||||||
|
|
||||||
|
// Thin Klotski
|
||||||
|
F451412..ba....22..11......1122..1111....1111
|
||||||
|
|
||||||
// Klotski
|
// Klotski
|
||||||
F451312bb..12........1221..12..1111..11....11
|
F451312bb..12........1221..12..1111..11....11
|
||||||
|
|
||||||
|
|||||||
@ -247,7 +247,7 @@ rec {
|
|||||||
echo "Running cmake"
|
echo "Running cmake"
|
||||||
cmake -G "Unix Makefiles" \
|
cmake -G "Unix Makefiles" \
|
||||||
-DCMAKE_BUILD_TYPE="${type}" \
|
-DCMAKE_BUILD_TYPE="${type}" \
|
||||||
-DUSE_TRACY=On \
|
-DUSE_TRACY=Off \
|
||||||
..
|
..
|
||||||
|
|
||||||
echo "Linking compile_commands.json"
|
echo "Linking compile_commands.json"
|
||||||
|
|||||||
Reference in New Issue
Block a user