mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
0ddfc51f6a
Previously, it was inconsistent in that some platforms/compilers had this flag for the RelWithDebInfo configuration and some didn't. This fixes issue #11366.
14 lines
373 B
CMake
14 lines
373 B
CMake
set(CMAKE_ASM_VERBOSE_FLAG "-v")
|
|
|
|
set(CMAKE_ASM_FLAGS_INIT "")
|
|
set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g")
|
|
set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-Os -DNDEBUG")
|
|
set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O3 -DNDEBUG")
|
|
set(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-O2 -g -DNDEBUG")
|
|
|
|
if(UNIX)
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S)
|
|
else()
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm)
|
|
endif()
|