gbe_fork/cmake/share/cmake-3.27/Modules/Compiler/IntelLLVM-ASM.cmake

13 lines
359 B
CMake
Raw Normal View History

2023-12-17 02:31:59 +08:00
include(Compiler/IntelLLVM)
__compiler_intel_llvm(ASM)
string(APPEND CMAKE_ASM_FLAGS_MINSIZEREL_INIT " -DNDEBUG")
string(APPEND CMAKE_ASM_FLAGS_RELEASE_INIT " -DNDEBUG")
string(APPEND CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT " -DNDEBUG")
if(UNIX)
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s;S)
else()
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS asm)
endif()