--out works for exes
This commit is contained in:
parent
56045ad7ff
commit
c75aa98706
1 changed files with 3 additions and 1 deletions
|
|
@ -603,7 +603,9 @@ proc CallCCompiler*(projectfile: string) =
|
||||||
if optGenGuiApp in gGlobalOptions: buildGui = cc[c].buildGui
|
if optGenGuiApp in gGlobalOptions: buildGui = cc[c].buildGui
|
||||||
else: buildGui = ""
|
else: buildGui = ""
|
||||||
var exefile: string
|
var exefile: string
|
||||||
if optGenDynLib in gGlobalOptions:
|
if options.outFile.len > 0:
|
||||||
|
exefile = options.outFile
|
||||||
|
elif optGenDynLib in gGlobalOptions:
|
||||||
exefile = platform.os[targetOS].dllFrmt % splitFile(projectFile).name
|
exefile = platform.os[targetOS].dllFrmt % splitFile(projectFile).name
|
||||||
buildDll = cc[c].buildDll
|
buildDll = cc[c].buildDll
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue