Core: Avoid including modules_enabled in headers
This commit is contained in:
@@ -32,6 +32,10 @@
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
#include "modules/modules_enabled.gen.h" // For jsonrpc.
|
||||
|
||||
#ifdef MODULE_JSONRPC_ENABLED
|
||||
|
||||
#include "tests/test_macros.h"
|
||||
|
||||
#include "../language_server/gdscript_extend_parser.h"
|
||||
@@ -506,4 +510,6 @@ func f():
|
||||
|
||||
} // namespace GDScriptTests
|
||||
|
||||
#endif // MODULE_JSONRPC_ENABLED
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user