Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaemyung jang <dm86.jang@gmail.com>2019-12-21 02:59:03 +0300
committerdaemyung jang <dm86.jang@gmail.com>2019-12-21 02:59:03 +0300
commit0b5691394c1872783b61510c9e7b229f46a86308 (patch)
treecf8d02cca452a109b78ba843fcfb481f41347365 /CMakeLists.txt
parentf912c32898dbf558635c9d5a2d50ff887c1402ae (diff)
Add debug prefix on Windows
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7dbb6b58..f9f95b72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)