Closed kelteseth closed 1 year ago
Are you willing to answer questions/fix this stuff when it breaks? 😄
Sure! I'm away for the weekend so I will report back Sunday 👍
Ready :)
This still looks like it's build/launch only for debug.
Don't we need build presets and launch targets for release builds too?
I'm currently on vacation for the next two weeks, I will look into it afterwards :)
No problem at all. Have an amazing break!
This can still be improved. I'm currently using an altered version for my personal project ScreenPlay (Godot desktop wallpaper) here https://gitlab.com/kelteseth/ScreenPlay/-/merge_requests/108
For example, not sure if we need the launch.json because there is nothing to launch when running the project, because this only compiles the library. This still can be altered to include the Godot editor to start the project.
Also in ScreenPlay I embed the project and explicitly set the build folder to my Godot project
With this we are now able to open this project in VSCode and QtCreator and other IDEs that support CMakePresets. No laborious setup required.
https://github.com/asmaloney/GDExtensionTemplate/assets/1071536/06d26ecb-ab8c-4e46-af21-008774eb8916
This is a MVP MR. We easily can add more features like VCPKG support with a few lines.