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

Generated config.hpp Disables Ability to Use Same Source For Multiple Platforms #513

Closed
KevinHopps opened this issue Jan 5, 2023 · 1 comment

Comments

@KevinHopps
Copy link
Contributor

In our dev environment, we have multiple products and multiple platforms built on multiple libraries, many of which independently rely on stlab. We have been trying to move toward single copies of each of our library dependencies, including stlab. So solving this problem by requiring each to have its own copy of stlab is not a viable option for us.

And, requiring a developer to re-generate config.hpp each time they want to switch to working on a different product is cumbersome as well as time-consuming, having to rebuild everything that depends on config.hpp directly or indirectly.

One example of this would be trying to simultaneously develop a product for MacOS as well as Web using emscripten.

Any chance we could switch back to a static config.hpp?

@KevinHopps
Copy link
Contributor Author

By auto-generating the config.hpp file into the build directory, and having separate build directories for each unique configuration, and having two include dirs for stlab builds, the problem is solved. Thank you, @sean-parent.

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

1 participant