CMake/Modules/Compiler/Intel-ASM.cmake

13 lines
338 B
CMake
Raw Normal View History

include(Compiler/Intel)
__compiler_intel(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()