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

Add build modes for debug/release, platform toolset #8

Open
micahsnyder opened this issue Oct 15, 2019 · 1 comment
Open

Add build modes for debug/release, platform toolset #8

micahsnyder opened this issue Oct 15, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@micahsnyder
Copy link
Contributor

Currently there is no way for a recipe to have multiple modes for a build. That is, no debug/release or platform toolset (Windows-only).

  • Add ability to specify "Debug" or "Release" builds.
    • Debug builds should probably also include copying .pdb files to the out/install directory (Windows). However, currently there is now way to have optional install files that only get copied if they happen to exist. Food for thought....
  • Add ability to specify Platform Toolset (i.e. v141 / 14.1) in recipe build script & as a version requirement.

Should tools have the ability to add new build script variables? This might be able to solve both issues.

@micahsnyder micahsnyder added the enhancement New feature or request label May 21, 2021
@micahsnyder
Copy link
Contributor Author

As with the "static" build support, you can work around this by having multiple architectures, eg "x64" and "x64-Debug".

Honestly this is the best solution I can think of right now. Unless a better design is proposed we should probably cancel this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant