Add debug prefix on Windows
This commit is contained in:
parent
f912c32898
commit
0b5691394c
@ -83,6 +83,10 @@ if(SPIRV_CROSS_FORCE_STL_TYPES)
|
||||
set(spirv-compiler-defines ${spirv-compiler-defines} SPIRV_CROSS_FORCE_STL_TYPES)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
set(CMAKE_DEBUG_POSTFIX "d")
|
||||
endif()
|
||||
|
||||
if (CMAKE_COMPILER_IS_GNUCXX OR (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang"))
|
||||
set(spirv-compiler-options ${spirv-compiler-options} -Wall -Wextra -Wshadow)
|
||||
if (SPIRV_CROSS_MISC_WARNINGS)
|
||||
|
Loading…
Reference in New Issue
Block a user