dub
dub copied to clipboard
Only update buildOptions in buildType if directive is present
If I add source files or other options to a certain build type only without specifying build options, it overwrites the default buildOptions, so I have to add them manually for each config afterwards:
buildType "debug" {
sourceFiles "debugging.d"
buildOptions "debugMode" "debugInfo"
}