fix(devtools): compile MCP/AiPanel into existing TUs for MSVC exports

Fold McpServer and AiPanel implementations into DebugAdapter.cpp and
DevTool.cpp via .inc includes so WINDOWS_EXPORT_ALL_SYMBOLS does not add
extra Poco JSON-heavy object files (LNK1189). Keep prior macOS singleton
and ImGui drawer fixes.

Co-authored-by: 西风逍遥游 <sunxfancy@gmail.com>
This commit is contained in:
Cursor Agentand西风逍遥游 committed 2026-08-10 01:36:26 +00:00
1 parent 9cc7100e0d
commit adfad4f2c9
4 files changed
+28 -19

No files matched your search

+4
View File
@@ -668,3 +668,7 @@ bool DebugAdapter::waitUntilConfigured(int timeoutMs) {
}
} // namespace eve::dev
// Compile MCP server in this TU so Windows WINDOWS_EXPORT_ALL_SYMBOLS does not
// grow another object full of Poco JSON template exports (LNK1189).
#include "devtools/McpServer.inc"