making edit and continue compiling in vs possible (#1988)

* making edit and continue compiling in vs possible

* fix tab spacing
This commit is contained in:
frizzle101101 2022-12-04 23:25:24 -05:00 committed by GitHub
parent 5b5310ea92
commit da1aa270ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1840,6 +1840,7 @@ if(MSVC)
${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT}; ${DEFAULT_CXX_DEBUG_INFORMATION_FORMAT};
${DEFAULT_CXX_EXCEPTION_HANDLING} ${DEFAULT_CXX_EXCEPTION_HANDLING}
) )
target_compile_options(${PROJECT_NAME} PRIVATE $<$<CONFIG:Debug>:/ZI;>)
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32") elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
target_compile_options(${PROJECT_NAME} PRIVATE target_compile_options(${PROJECT_NAME} PRIVATE
$<$<CONFIG:Debug>: $<$<CONFIG:Debug>:
@ -1866,11 +1867,11 @@ if(MSVC)
$<$<CONFIG:Release>: $<$<CONFIG:Release>:
/OPT:REF; /OPT:REF;
/OPT:ICF; /OPT:ICF;
/INCREMENTAL:NO /INCREMENTAL:NO;
/FORCE:MULTIPLE
> >
/DEBUG; /DEBUG;
/SUBSYSTEM:WINDOWS; /SUBSYSTEM:WINDOWS
/FORCE:MULTIPLE
) )
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32") elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Win32")
target_link_options(${PROJECT_NAME} PRIVATE target_link_options(${PROJECT_NAME} PRIVATE