From 1eafa0332955b7c295530793153344c99141e952 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 12 Apr 2026 18:37:23 -0700 Subject: [PATCH] e&c --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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}