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

Use Different Filenames for Debug vs Release Builds #28

Open
ron-kuhn opened this issue Apr 14, 2023 · 0 comments
Open

Use Different Filenames for Debug vs Release Builds #28

ron-kuhn opened this issue Apr 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ron-kuhn
Copy link

I am building HDF5 and rest-vol using cmake then building using Visual Studio as Debug and RelWithDeb. The HDF5 build produces different libraries and binaries for debug (add _D). Rest-vol has the same name for both configurations (overwriting old). My application includes the correct library based on build config, but since yours is the same name, I am forced to use what is built last. This is a problem when I build my application with Debug but rest-vol did Release build last. When I run my application, my app using the debug version of hdf5 but rest-vol is using release version of hdf5. This causes MANY problems and not easy to find. Luckily, I saw that hdf5.dll and hdf5_D.dll modules were loaded in the debugger.

@mattjala mattjala added the enhancement New feature or request label Apr 24, 2023
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

2 participants