On 07/31/2019 10:29 AM, Andrey Zherikov wrote:
I want my program to add some directories into module lookup process
(like adding -I dmd options). List of directories is known at compile
time but the choice of what exact directories to add depends on
`-version` parameter.
Is there a way to achieve this in code?
I can actually do this by creating scripts like 'build-version1',
'build-version2' but I'm looking for a way to avoid this.
This seems to be a task for the build system: whatever is setting the
-version switch should set the -I switch as well.
Ali