| |
---|
| | flags ~= "-of"~(dub.binaryPath~outfile).toNativeString(); |
---|
| | } else { |
---|
| | import std.random; |
---|
| | auto rnd = to!string(uniform(uint.min, uint.max)) ~ "-"; |
---|
| | run_exe_file = environment.get("TEMP")~"\\.rdmd\\source\\"~rnd~outfile; |
---|
| | auto tmp = environment.get("TEMP"); |
---|
| | if( !tmp.length ) tmp = environment.get("TMP"); |
---|
| | if( !tmp.length ) tmp = "."; |
---|
| | run_exe_file = tmp~"\\.rdmd\\source\\"~rnd~outfile; |
---|
| | flags ~= "-of"~run_exe_file; |
---|
| | } |
---|
| | |
---|
| | auto settings = dub.getBuildSettings(build_platform, build_config); |
---|
| |
---|
| | |