Commit graph

53 commits

Author SHA1 Message Date
anders_k
fc8c70f856 Don't store coffgrp LTCG/POGO debug data in VS2015+ release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7002 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-03 23:53:51 +00:00
anders_k
460b3f59a9 Initial groundwork for ARM64 support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7001 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-03 21:00:53 +00:00
kichik
55cb9be2be more
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6922 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 19:30:20 +00:00
anders_k
2a341bc918 Better NSIS Menu .manifest requirement detection
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6631 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-03 23:28:08 +00:00
kichik
b9d125c881 only use /FIXED for stubs and especially not for DLLs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6570 212acab6-be3b-0410-9dea-997c60f758d6
2014-12-04 07:15:01 +00:00
kichik
9c2604e44d need /FIXED for VS2010 as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6568 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-30 03:13:08 +00:00
kichik
59bdbf2614 fix gcc build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6543 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 21:04:19 +00:00
kichik
758fcd8ce6 fixed vs2012 builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6542 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 20:55:20 +00:00
anders_k
d43e3a717c mstoolkit toolchain should use the VC toolkit linker by default. link.exe can even stand in for lib.exe if required
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6504 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-23 19:15:59 +00:00
anders_k
a7076ff238 Basic AMD64 System::Call support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6444 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-03 18:10:53 +00:00
anders_k
d799ee53d7 Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
9b3a98a07f mstoolkit.py now supports MSVC_USE_SCRIPT=None to import VC and SDK paths from environment variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6428 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:21:26 +00:00
anders_k
be6c7e6a1d Major POSIX overhaul
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +00:00
kichik
6d71b946e3 tdefenv must be defined after defenv is ready
this caused tdefenv (and therefore util_env) not to contain the right pointers to libcp.lib

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6282 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 04:33:52 +00:00
kichik
cc12f76610 not sure how this ever worked, but it's LIBPATH that needs to be modified and LIB in the OS environment
maybe older versions of scons read LIB after environment construction too?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6270 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-15 02:34:25 +00:00
anders_k
7cc150c464 MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.

MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
kichik
44f0a9e9e9 document the weird workaround
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6173 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-15 23:12:24 +00:00
kichik
2ef166a970 vc 10 doesn't like /opt:nowin98 or even /align:512
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6128 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-13 21:13:49 +00:00
wizou
57f7ff8a1c Unicode port: Unicode version of NSIS can now generate both ANSI & Unicode installers (using new instruction UnicodeInstaller on/off).
Stubs & Plugins differentiation is done automatically using a 'W' suffix.
SConscripts need to be reviewed to generate both variants of Plugins & pluginapi.lib under Unicode compilation.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6100 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 10:07:22 +00:00
kichik
fcb399fce0 workaround for platform sdk problems with scons 1.3.0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6062 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 22:58:47 +00:00
wizou
cefeec3676 Additional error checking by Jim Park.
Also some cleaning.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6058 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-15 12:11:06 +00:00
wizou
01d88a1ed6 Some TCHAR fixes, linker flag for Unicode, and cosmetic touch without real changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6052 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-14 10:15:40 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
pabs3
f41ba95bab fix bug #2497148 - allow out of tree builds on POSIX platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5921 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:05:48 +00:00
kichik
6f5d687490 use lists instead of dicts so scons will not treat the dict as a string when a list is also appended
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5847 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-14 23:56:10 +00:00
kichik
f6e4fefbf5 moved NSISCALL detection to scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5814 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-09 22:42:12 +00:00
kichik
4c87ec9e83 applied patch #2193442 - port System::Call and related functions to GCC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5775 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-20 21:04:23 +00:00
kichik
c8884e0988 scons 1.1.0 support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5767 212acab6-be3b-0410-9dea-997c60f758d6
2008-11-15 21:54:24 +00:00
kichik
bebb041789 more of bug #1676243 - compiler warnings on Linux
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5066 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-13 10:29:24 +00:00
kichik
3608995944 added -Wno-non-virtual-dtor for 7zip files on gnu configuration for bug #1676243
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5051 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-11 20:54:00 +00:00
kichik
9fc8466b7c listing file is fun
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4979 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-06 21:14:12 +00:00
kichik
b293ebb229 added MSVCRT_FLAG
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4963 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-02 11:17:08 +00:00
kichik
1a7016361c applied patch #1667950 - Silence spurious warnings when compiling with VC8
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4957 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-24 18:23:33 +00:00
kichik
f03e32fc2f MSVC_VERSION has Exp prefix for express versions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4825 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-27 14:38:16 +00:00
kichik
7519ae9fe2 proper MSVS_VERSION check
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4817 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-17 11:38:15 +00:00
joostverburg
f04bd2fa14 automatic MSVC 2005 detection
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4816 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-14 19:14:53 +00:00
joostverburg
40df19f5e8 * SCons 0.96.93 automatically detects MSVC 2005, using environment variables is no longer needed
* Use new exception flag for MSVC 2005


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4814 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-13 14:10:11 +00:00
kichik
4bdb1ebd7d Copy is deprecated by Clone in scons 0.96.93
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4813 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-11 13:04:35 +00:00
kichik
5db3e30206 proper memset test
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4800 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-30 20:50:30 +00:00
joostverburg
3c3e42020b Disabled libcp check for MSVC 2005. This lib is not used anymore.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4797 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-29 14:52:22 +00:00
joostverburg
1247550061 MSVC 2005 support. Add TEMP_MSVC2005=yes to the build command line.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4796 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-29 11:50:31 +00:00
kichik
503f5c78c8 moved _NSIS_NO_INT64_SHR test to SCons/Config/ms so it'll only be called once and not for each stub and because it's a better location being a vc specific problem
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4595 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-17 12:01:17 +00:00
pabs3
e2c7cdb60a Remember to define __BIG_ENDIAN__ for the tests as well as makensis.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4514 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-01 06:01:11 +00:00
kichik
94f7f3b673 added NSIS_CONFIG_LOG_STDOUT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4510 212acab6-be3b-0410-9dea-997c60f758d6
2006-01-27 17:53:00 +00:00
kichik
b8991b1482 original LIB is used, no need to remove #/.sconf_temp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4327 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-13 14:49:39 +00:00
kichik
e1d65c2150 don't add /GX to defenv
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4326 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-13 13:33:28 +00:00
kichik
8507a9027d added workaround for Platform SDK's libcp.lib
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4325 212acab6-be3b-0410-9dea-997c60f758d6
2005-10-13 13:16:38 +00:00
kichik
08665528b9 added support for compilation of cross platform utilities
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4272 212acab6-be3b-0410-9dea-997c60f758d6
2005-09-17 09:43:10 +00:00
kichik
df2a7ce233 add $MAP_FLAG to all envs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4172 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-16 10:09:17 +00:00
kichik
be0ba361a6 MAP_FLAG no longer needs to be a function
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4041 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-21 13:13:36 +00:00