diff options
author | Fredrik Høisæther Rasch <fredrik.rasch@gmail.com> | 2017-03-20 22:32:17 +0100 |
---|---|---|
committer | Fredrik Høisæther Rasch <fredrik.h.rasch@uit.no> | 2017-03-21 12:18:29 +0100 |
commit | 86206b253346ac221ca4392b339741064f031970 (patch) | |
tree | 9415a245a3a0127fd486ea583b595bea0a502701 | |
parent | 503a816b362c124b23ec45bf19113bac57bdb136 (diff) | |
download | Nim-86206b253346ac221ca4392b339741064f031970.tar.gz |
Added explanatory comments about vccexe and its path argument in nim.cfg
-rw-r--r-- | config/nim.cfg | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/config/nim.cfg b/config/nim.cfg index 273497546..aff74af53 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -180,6 +180,39 @@ clang.options.speed = "-O3" clang.options.size = "-Os" # Configuration for the Visual C/C++ compiler: +# VCCEXE is a tool that invokes the Visual Studio Developer Command Prompt +# before calling the compiler. +# Please make sure either Visual Studio or C++ Build SKU is installed when using the vcc compiler backend. + +# With Side-by-side installation support in VS2017, the VCC SDK no longer defines global environment variables +# that can be used to discover the path for your SDK installation. +# Because of that and greater flexibility you have to specify the path to the vcvarsall file that initializes +# the C/C++ Devloper Environment for a specified target architecture. + +# The following are the default paths for vcvarsall ordered by Visual Studio versions. +# Uncomment ONE of the following lines and/or adjust it to match your specific installation + +# Visual Studio 2008 +# --passC:"--vcvarsall:\"%VS90COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# --passL:"--vcvarsall:\"%VS90COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# Visual Studio 2010 +# --passC:"--vcvarsall:\"%VS100COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# --passL:"--vcvarsall:\"%VS100COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# Visual Studio 2012 +# --passC:"--vcvarsall:\"%VS110COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# --passL:"--vcvarsall:\"%VS110COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# Visual Studio 2013 +# --passC:"--vcvarsall:\"%VS120COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# --passL:"--vcvarsall:\"%VS120COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# Visual Studio 2015 +# --passC:"--vcvarsall:\"%VS140COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# --passL:"--vcvarsall:\"%VS140COMNTOOLS%..\\\..\\VC\\vcvarsall\"" +# Visual Studio 2017 Community Edition (replace the 'Community' path segment, with the Installation Instance name for your installtion) +# --passC:"--vcvarsall:\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2107\\Community\\VC\\Auxiliary\\Build\\vcvarsall\"" +# --passL:"--vcvarsall:\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2107\\Community\\VC\\Auxiliary\\Build\\vcvarsall\"" + +# Note that there are two entries, one 'passC' and one 'passL' entry, so that nim loads the tools both for compilation and linking. + vcc.exe = "vccexe.exe" vcc.cpp.exe = "vccexe.exe" vcc.linkerexe = "vccexe.exe" |