parent
37081e2945
commit
0434aef4cd
1 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ proc main =
|
||||||
f.write(nimfile % [other])
|
f.write(nimfile % [other])
|
||||||
close(f)
|
close(f)
|
||||||
|
|
||||||
let cCompile = defined(openbsd) or defined(freebsd) or defined(netbsd): ccLinkMath else: cc
|
let cCompile = when defined(openbsd) or defined(freebsd) or defined(netbsd): ccLinkMath else: cc
|
||||||
let cppCompile = defined(openbsd) or defined(freebsd) or defined(netbsd): cppLinkMath else: cpp
|
let cppCompile = when defined(openbsd) or defined(freebsd) or defined(netbsd): cppLinkMath else: cpp
|
||||||
if not myExec(cCompile % [gen.addFileExt(ExeExt), gen]): quit(1)
|
if not myExec(cCompile % [gen.addFileExt(ExeExt), gen]): quit(1)
|
||||||
if not myExec(cppCompile % [pre.addFileExt(ExeExt), pre]): quit(1)
|
if not myExec(cppCompile % [pre.addFileExt(ExeExt), pre]): quit(1)
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue