Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakePresets.json support? #25

Open
eHonnef opened this issue Jul 4, 2023 · 1 comment
Open

CMakePresets.json support? #25

eHonnef opened this issue Jul 4, 2023 · 1 comment

Comments

@eHonnef
Copy link

eHonnef commented Jul 4, 2023

Hello, currently I'm using a project that contains a CMakePresets.json file.

I'm aware that you can create a build system that invokes cmake, but that demands that I manually write the build system with every preset in the file.

What I like about this package is that the "configure" will create the build system for us.

Is there a way to do that but using the json file?

@Servomex-ivisser
Copy link

Can I add my vote to this request?

We build our code base for many platforms, including various STM32 MicroController Units (MCU).
Each MCU requires its own compiler defines and options which we carefully manage through CMake presets.
That presets can inherit from others is a massive gain to us.

I could of course use Visual Studio Code as my editor and build platform, but I much prefer the "lighweigthtedness" of Sublime Text (ST).

It's not a massive PITA to switch between command line and ST, but if we could build the target through selecting a preset name from within ST, then this would be quite a powerful feature. To me at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants