Add debug prefix on Windows

This commit is contained in:
daemyung jang 2019-12-21 08:59:03 +09:00
parent f912c32898
commit 0b5691394c

View File

@ -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)