diff --git a/CMakeLists.txt b/CMakeLists.txt index d87bb1afe2..775606ca8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -225,6 +225,12 @@ if (DUSK_MOVIE_SUPPORT) list(APPEND GAME_COMPILE_DEFS MOVIE_SUPPORT=1) endif () +# Edit & Continue +if (MSVC) + add_compile_options("/ZI") + add_link_options("/INCREMENTAL") +endif () + # game_debug is for game code files that we know work when compiled with DEBUG=1 # Of course, if building a release build, this distinction is irrelevant add_library(game_debug OBJECT ${JSYSTEM_DEBUG_FILES} ${SSYSTEM_FILES}