Is there a way to adjust lookup paths for modules during compilation?

Andrey Zherikov andrey.zherikov at gmail.com
Wed Jul 31 17:29:58 UTC 2019


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.


More information about the Digitalmars-d-learn mailing list