mirror of
https://github.com/LIV2/amiberry.git
synced 2025-12-06 06:32:45 +00:00
ci: add recommended compiler flags for macOS debug builds
In order to use the profiler, Jetbrains recommend these flags for macOS Debug builds
This commit is contained in:
parent
359e8e73ee
commit
a280b7c073
@ -35,4 +35,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
include_directories("/usr/local/include")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-L/usr/local/lib -framework IOKit -framework Foundation -liconv")
|
||||
endif ()
|
||||
if (CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user