-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
VisualD : generate all build modes #1051
base: master
Are you sure you want to change the base?
Conversation
…ting a VisualD solution.
|
I may found a little issue, all builds use the same output file path. So a manual clean is needed to generate the proper target. Need I fix that? I think to fix it by adding the build mode as directory in the output path (eg. bin/debug/prog.exe) |
|
Need I improve test coverage to have a review? |
|
Sorry for the review delay, we have a little shortage of regular reviewers currently. I think this is generally a viable solution for the time being, being able to specify different target names/paths is an orthogonal issue and can be solved later. The only issue is that just changing the build options may be somewhat surprising if more than that is defined in the package recipe, such as a custom build mode. Instead of hard-coding the build options, Then, dub/source/dub/generators/generator.d Lines 104 to 105 in 28a1c02
In the long term, I'd like to implement something akin to |
|
No problem. I'll try to do modifications that you suggest. My first try was to manage command line exactly like you see it for the futur, but I am not enough familiar with dub code (and confortable with D) to manage changes with this kind of impact. It will be a major refactor that impacts all generators. |
|
Any updates on this? I'm trying to find a way to generate a visuald solution with x86, x86-64, debug, and release configurations, and I can't find any way to do it. |
Looks like they are doing their own thing and this isn't important to them. So yeah go ahead and take it over if you want to continue it! |
Hi,
This changes make the VisualD solution always generated with debug, release and unittest modes.
Any Visual Studio should expect that as every c++ projects comes with debug and release modes by default. This improve Windows user productivity by reducing the usage of terminal.