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

How to change preset in Visual Studio [Debug, Release, RelWithDebInfo etc.] #7

Closed
trebla64 opened this issue May 4, 2023 · 3 comments

Comments

@trebla64
Copy link

trebla64 commented May 4, 2023

Hi,

Firstly, thanks for your template. I use it in all my C++ projects now.

By default visual studio builds the "Debug" preset and I haven't been able to find a way to use the other presets. It seems you can change this in VS code but my vscode builds keep failing.

I have searched everywhere for how to do this. Maybe I'm missing something stupid.

There is a way to build using cmake like in the yaml file, but this seems to always reconfigure everything and doesn't use cached packages.

Any help would be appreciated, thanks.

@lukka
Copy link
Owner

lukka commented May 5, 2023

@trebla64 please take a look at #8
Does it satisfy your request?

@trebla64
Copy link
Author

trebla64 commented May 5, 2023

Yes. Have tested it and looks like it works.

Thanks

@lukka
Copy link
Owner

lukka commented May 6, 2023

@trebla64 thanks for the suggestion, the configuration selection was definitively missing when using IDEs. Let me know if you have more suggestions, thanks!

@lukka lukka closed this as completed May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants