Commit fbf8b4c0 authored by DailyShana's avatar DailyShana

cmake: comment and indent

parent e8a72187
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
# #
# Requires these CMake modules: # Requires these CMake modules:
# ListCombinations.cmake # ListCombinations.cmake
#
# The cmake property VS_JUST_MY_CODE_DEBUGGING introduced in CMake 3.15
# also add /JMC to Release configuration, which is inappropriate
if(MSVC AND NOT "${MSVC_VERSION}" LESS 1918) if(MSVC AND NOT "${MSVC_VERSION}" LESS 1918)
# Only available in VS 2017 15.8 and newer # Only available in VS 2017 15.8 and newer
...@@ -13,7 +16,7 @@ if(MSVC AND NOT "${MSVC_VERSION}" LESS 1918) ...@@ -13,7 +16,7 @@ if(MSVC AND NOT "${MSVC_VERSION}" LESS 1918)
CMAKE_CXX_FLAGS_ CMAKE_CXX_FLAGS_
SUFFIXES SUFFIXES
DEBUG DEBUG
RELWITHDEBINFO) RELWITHDEBINFO)
foreach(_var ${_varnames}) foreach(_var ${_varnames})
set(${_var} "${${_var}} /JMC") set(${_var} "${${_var}} /JMC")
endforeach() endforeach()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment