mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
@@ -327,7 +327,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo) =
|
||||
lists.excludePath(options.lazyPaths, strippedPath)
|
||||
of "nimcache":
|
||||
expectArg(switch, arg, pass, info)
|
||||
options.nimcacheDir = processPath(arg)
|
||||
options.nimcacheDir = processPath(arg, true)
|
||||
of "out", "o":
|
||||
expectArg(switch, arg, pass, info)
|
||||
options.outFile = arg
|
||||
|
||||
@@ -731,6 +731,8 @@ proc callCCompiler*(projectfile: string) =
|
||||
builddll = ""
|
||||
if options.outFile.len > 0:
|
||||
exefile = options.outFile.expandTilde
|
||||
if not exefile.isAbsolute():
|
||||
exefile = getCurrentDir() / exefile
|
||||
if not noAbsolutePaths():
|
||||
if not exefile.isAbsolute():
|
||||
exefile = joinPath(splitFile(projectfile).dir, exefile)
|
||||
|
||||
10
web/news.txt
10
web/news.txt
@@ -2,6 +2,16 @@
|
||||
News
|
||||
====
|
||||
|
||||
2016-XX-XX Version 0.13.1 released
|
||||
==================================
|
||||
|
||||
Changes affecting backwards compatibility
|
||||
-----------------------------------------
|
||||
|
||||
- ``--out`` and ``--nimcache`` command line arguments are now relative to
|
||||
current directory. Previously they were relative to project directory.
|
||||
|
||||
|
||||
2016-01-27 Nim in Action is now available!
|
||||
==========================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user