Add CLion CMake facade project generation

Add CLion as a supported editor workflow for native C++ development.
The new -clion generation option writes a CMake facade project under
Cache/Projects/CMake/<ProjectName>, exposing a CLion-friendly code model,
build presets, and launcher targets while keeping Flax.Build as the source
of truth for native builds.
This commit is contained in:
Andrei Gagua
2026-06-09 15:16:35 +03:00
parent 057e5684e9
commit eaf06e9523
11 changed files with 1075 additions and 1 deletions
+2
View File
@@ -6,6 +6,7 @@
#include "ScriptsBuilder.h"
#include "CodeEditors/VisualStudioCodeEditor.h"
#include "CodeEditors/RiderCodeEditor.h"
#include "CodeEditors/CLionCodeEditor.h"
#if USE_VISUAL_STUDIO_DTE
#include "CodeEditors/VisualStudio/VisualStudioEditor.h"
#endif
@@ -269,6 +270,7 @@ bool CodeEditingManagerService::Init()
#endif
VisualStudioCodeEditor::FindEditors(&CodeEditors);
RiderCodeEditor::FindEditors(&CodeEditors);
CLionCodeEditor::FindEditors(&CodeEditors);
CodeEditors.Add(New<SystemDefaultCodeEditor>());
return false;