diff --git a/src/Cpp/MaaSample.vcxproj b/src/Cpp/MaaSample.vcxproj
index 426401881e..038a8226ac 100644
--- a/src/Cpp/MaaSample.vcxproj
+++ b/src/Cpp/MaaSample.vcxproj
@@ -210,13 +210,14 @@
true
false
true
- LOG_TRACE;NDEBUG;_CONSOLE;ASST_DEBUG;%(PreprocessorDefinitions)
+ _CONSOLE;ASST_DEBUG;SMOKE_TESTING;_DEBUG;%(PreprocessorDefinitions)
true
stdcpp20
stdc17
- MultiThreaded
+ MultiThreadedDebugDLL
Disabled
/utf-8 /MP %(AdditionalOptions)
+ EnableFastChecks
Console
@@ -279,4 +280,4 @@
-
+
\ No newline at end of file
diff --git a/src/Cpp/main.cpp b/src/Cpp/main.cpp
index 633f0b23e0..3b4c007cb7 100644
--- a/src/Cpp/main.cpp
+++ b/src/Cpp/main.cpp
@@ -43,12 +43,12 @@ int main([[maybe_unused]] int argc, char** argv)
std::cerr << "create failed" << std::endl;
return -1;
}
-
-#ifndef NDEBUG
+
+#ifdef SMOKE_TESTING
std::cout << "Ended early for smoke testing." << std::endl;
return 0;
#endif
-
+
#ifndef ASST_DEBUG
AsstAsyncConnect(ptr, "adb", "127.0.0.1:5555", nullptr, true);
#else
diff --git a/src/MaaCore/MaaCore.vcxproj b/src/MaaCore/MaaCore.vcxproj
index d7e9f7fbfe..20ae64a745 100644
--- a/src/MaaCore/MaaCore.vcxproj
+++ b/src/MaaCore/MaaCore.vcxproj
@@ -599,7 +599,7 @@
false
true
- _CONSOLE;ASST_DLL_EXPORTS;ASST_DEBUG;%(PreprocessorDefinitions)
+ _CONSOLE;ASST_DLL_EXPORTS;ASST_DEBUG;_DEBUG;%(PreprocessorDefinitions)
true
stdcpp20
stdc11