summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
Commit message (Collapse)AuthorAgeFilesLines
* Add pkgcflags, appcflags and stubscflags to reflect different compilation modes.vc-reform-tests-passapnadkarni2017-09-281-13/+86
| | | | | | | | | | Packages compile (at least) three types of objects files - the shared library extension (e.g. tk86.dll), application programs (e.g. wish) and a static stubs library (tkstub86.lib). Thus we need to construct three different sets of compilation flags accordingly. Also updated makefile header comments to reflect modern usage. FossilOrigin-Name: 796c9fe1ab27bb389adf00d26a49566a0443ea0c753282d45f98cadf1f20f391
* Include rules.vc and nmakehlp.c as part of install. apnadkarni2017-09-261-8/+56
| | | | | | | | | | Work toward not having to keep updating extensions with the latest version of rules.vc and nmakehlp. Extension makefiles can instead use the installed files instead. Also added some basic sanity checks to rules.vc to warn if extensions are being compiled with options incompatible with those used to build Tcl. FossilOrigin-Name: 1889687ba861e0870cf4bbb3abfbc12393501aea3d985476f8af96c28e3254bc
* Eliminate obsolete winhelp style documentation and fix Html Help doc buildapnadkarni2017-09-251-0/+11
| | | | | to work on 64-bit systems. FossilOrigin-Name: 5137d4fbb179cde7cc02cb5a66367be039cc2bcc035f9ad4fa162e3bdd9c54f2
* Eliminated /base option on linking as not recommended with ASLRapnadkarni2017-09-251-7/+3
| | | FossilOrigin-Name: 847eaa26c52fbe4a466a2e94d9973e58ee0db020160554a74ca5ea7450565850
* Unify build commands with MAKE{LIB,DLL,CON,GUI}CMD macrosapnadkarni2017-09-251-1/+4
| | | FossilOrigin-Name: 1e35d5e767ded7b489ba003bc3bb4fff755a3f01484b492b6f71358018efa8f9
* Move TCLSH and TCLSH_NATIVE macros to rules.vcapnadkarni2017-09-251-1/+16
| | | FossilOrigin-Name: 5be00eaab3a850451c54e1985b7bc3cdf56fdc04edb12e76b849070b41efcc98
* Added project-specific include paths and preprocessor defines.apnadkarni2017-09-251-5/+37
| | | FossilOrigin-Name: 6503da624be962a0605e56208facf3d796e220968fc3dcb0026a65887944b7fa
* Move clean target to rules.vc to avoid repetition in every extensionapnadkarni2017-09-241-1/+37
| | | FossilOrigin-Name: 60ffde8e32cee6c37e70636b2af5d7f7e938493d9d81caefcc9e568042db5d5d
* Move installation dir macros to rules.vcapnadkarni2017-09-241-9/+54
| | | FossilOrigin-Name: 8085276411e6dbed6fd6922c4d6ec40d343032fb44b2b5cc1fdb68714dc111f2
* Moved generic compiler and linker flags completely into rules.vc soapnadkarni2017-09-241-151/+190
| | | | | | | | | extensions do not have to repeat the verbage. Special case Tk as a Tcl extension and add default for locating Tcl source. Both Tcl and Tk compile with new rules. FossilOrigin-Name: 5c431028b89af334c5792001ae301cfc42d02ab645c33a3b9fe183a77d31f7ae
* More refactoring. Moved defines that are Tcl-specific to makefile.vc asapnadkarni2017-09-231-144/+164
| | | | | rules.vc is common to extensions. Reworked parsing of STATS and CHECKS. FossilOrigin-Name: 0e5cb21d0ee739409bc6c1826dab38bb76489b78bb32220b0c4b9e9afe9c2968
* First step in complete refactoring.apnadkarni2017-09-221-131/+290
| | | | | | | | Breaking up into logical sections with comments. Fix floating point option selection to be the same on debug and release. Pick up nmakehlp.c from installed Tcl if available when building extensions. Mods to allow extensions to use the same exact rules.vc file. FossilOrigin-Name: b555514410356654f1b80e3d6eee9763d83dca99ac172769a4bf90f753fbbfd8
* First cut at making application-independent compile and link flagsapnadkarni2017-09-201-2/+110
| | | | | | common to all extensions defined in a single place - rules.vc - instead of having each extension cut and paste the same code. FossilOrigin-Name: a00775326e55435c207e023c68ff35d16dc946066535cd3a6a77770534b8456a
* Eliminated some obsolete checks (Win98, IA64 etc.) to reduce the noise.apnadkarni2017-09-191-24/+1
| | | FossilOrigin-Name: 7267f6da0a3fa978456032ea394ec0943488fd7a6bb73d4d67df9b2eaff1e5f3
* Do not permit nothreads in OPTS as sockets, registry and dde require threading.apnadkarni2017-09-191-2/+22
| | | FossilOrigin-Name: 39dbe837aaef80872038070890d329b76d96356a66c599c3a03d79779678fdd6
* Fix mapping of VCVERSION to VCVER. The simplistic calculation no longerapnadkarni2017-09-191-0/+7
| | | | | | holds for new versions of the compiler. Instead directly use the internal compiler version for these. FossilOrigin-Name: b564ced4b61b3acb12a5d3fe710358204e6bba3a405d8991a744044952dc7e50
* Remove /Gs which enables _chkstk on *every* function call. The normal defaultapnadkarni2017-09-191-15/+21
| | | | | | | | | | | behaviour (without the option) checks only local variable space exceeds page size. This is what Microsoft recommends. Also moved -O2 to rules.vc file so as to keep all optimization flags in one location. Removed optimizations switches subsumed by -O2. FossilOrigin-Name: 04c1607a2421fcae39765336915f40ec15c99a6e3210f46f890b55241bb79e7e
* missing rules.vc after mergesebres2017-01-131-5/+10
|\ | | | | FossilOrigin-Name: 6583377fcf35372a023e9b68e71c4e0ede2f3ddc
| * Fixes nmakehlp: allows more as one option by -l, to provide mandatory linker ↵sebres2017-01-121-1/+1
| | | | | | | | | | | | | | parameters (e. g. "LNK1561: entry point must be defined"); Additionally recognizes an new linker code LNK4224 for "no longer supported; ignored". FossilOrigin-Name: 4ebcceab91525687a145999ed50f988303169c3a
| * Allows to compile direct from Visual Studio IDE (prevents throwing error ↵sebres2017-01-121-5/+10
| | | | | | | | | | "LNK1561: entry point must be defined" by testing linker) FossilOrigin-Name: 4c5262d9093366fb78405e7bd31a4eaaa51f4534
* | merge core-8-6-branch. Undo changes to coffbase.txt (they cause overlap with Tk)jan.nijtmans2016-09-211-1/+1
|\ \ | | | | | | FossilOrigin-Name: d22d2fc5be904fad860f188f05e2aa4135d2e1f5
| * \ Make it more likely that compiles with VS2012/VS2013 actually work on ↵jan.nijtmans2016-09-211-1/+1
| |\ \ | | |/ | | | | | | | | | Windows XP. See: [https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/] FossilOrigin-Name: 572fd312681328ff1c2afc1f1e3e534dbbbcfb5f
| | * Make it more likely that compiled with VS2012/VS2013 actually work on ↵jan.nijtmans2016-09-211-1/+1
| | | | | | | | | | | | | | | Windows XP. See: [https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/] FossilOrigin-Name: a26067b252cb123a230c428635750001ab229eea
* | | Permit static linking to the MSVCRT as a stand-alone option. Enable WinXP ↵mistachkin2016-09-191-1/+6
|/ / | | | | | | | | SDK compatibility. FossilOrigin-Name: 126eddaf9340ea082e0f66dd590897e407970211
* | Removed "ucrt" as configureable option: If building with VC2014, it's the ↵jan.nijtmans2015-08-251-7/+0
|\ \ | |/ | | | | | | recommended way to build Tcl. FossilOrigin-Name: 23c443f4f1ad0de8479d354e6a938d6860979748
| * Removed "ucrt" as configureable option: If building with VC2014, it's the ↵jan.nijtmans2015-08-251-7/+0
| | | | | | | | | | recommended way to build Tcl. FossilOrigin-Name: d40332361986e9430df66f15b71e857cf0453756
* | Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static ↵jan.nijtmans2015-08-191-0/+7
|\ \ | |/ | | | | | | UCRT build on Windows with VC 14.0 FossilOrigin-Name: 282c683bb9b5b84b53de78a0f1abc89b9182a4b5
| * Fix [00189c4afcb9e2586301d711f71383e48817a72d|00189c4afc]: Allow semi-static ↵jan.nijtmans2015-08-191-0/+7
| | | | | | | | | | UCRT build on Windows with VC 14.0 FossilOrigin-Name: e8ee0c13b96dea96ba319a48fc0304335d162487
* | Fix bug in "make dist" when system-encoding is UTF-8: eolFix will then ↵jan.nijtmans2015-06-251-698/+698
|\ \ | |/ | | | | | | | | | | | | translate some windows-specific files to UTF-8 too. Solution: commit those files with CRLF line-ending, which eliminates the need for eolFix altgether. See als: [495120] for the reason why eolFix was introduced in the first place. No longer needed with fossil. FossilOrigin-Name: 63b06948efc136db1305d1d9395b7d240a668ee0
| * Fix bug in "make dist" when system-encoding is UTF-8: eolFix will then ↵jan.nijtmans2015-06-251-698/+698
| | | | | | | | | | | | | | | | translate some windows-specific files to UTF-8 too. Solution: commit those files with CRLF line-ending, which eliminates the need for eolFix altgether. See als: [495120] for the reason why eolFix was introduced in the first place. No longer needed with fossil. FossilOrigin-Name: 0ff7f3392cdb635e07dc303417f0e6eed54a79a9
* | Only build the threaded builds by defaultjan.nijtmans2012-08-151-19/+7
|\ \ | |/ | | FossilOrigin-Name: 0f40790ef49bf16d40eff4d2c66b3b3adaae4a67
| * Only build the threaded builds by default. jan.nijtmans2012-08-151-22/+41
| | | | | | | | | | Backport some improvements from Tcl 8.6 FossilOrigin-Name: 8cf1845eafac2a37601eb4558f737c0fa6f50b2f
* | fix some commentsjan.nijtmans2012-07-291-3/+3
| | | | | | FossilOrigin-Name: 6c2af8c78b30d112aa30facf1d70a69973304b30
* | [Bug 3544943]: Version mismatch in rules.vcjan.nijtmans2012-07-171-2/+2
| | | | | | FossilOrigin-Name: 55be072ffff9e951ff9ed3c6bd2808d1d7a453bd
* | sync win/rules.vc with Tk versionjan.nijtmans2012-04-131-6/+7
|\ \ | |/ | | FossilOrigin-Name: ead472afb01297aea54a53d1732a70649f1d83b3
| * sync win/rules.vc with Tk versionjan.nijtmans2012-04-131-6/+7
| |\ | | | | | | FossilOrigin-Name: 72d2828eba68a085f4ba5a58d7bb2b05d85bae81
| | * sync win/rules.vc with Tk versionjan.nijtmans2012-04-131-4/+7
| | | | | | | | | FossilOrigin-Name: 7e2c326c5567478cb30a72aab3d1066a0b5df25d
* | | [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-0/+2
|\ \ \ | |/ / | | | FossilOrigin-Name: 8032e7f92e8aac123998c370690d4bb6b221069b
| * | [Bug 3448512]: clock scan "1958-01-01" fails only in debug compilationjan.nijtmans2012-04-111-0/+2
| |\ \ | | |/ | | | FossilOrigin-Name: beba7a8c8c5e2acd7fddd5bafae03d55d1f4e46e
| | * Support Visual Studio 11jan.nijtmans2011-09-261-51/+55
| | | | | | | | | FossilOrigin-Name: 091540cba92ac915e210a6f5f92c2dbbf6c58df6
* | | Support cross-compilation to x64 from ix86 hosts when using NMAKE.patthoyts2011-04-201-42/+45
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Part of the build uses tclsh to generate files. Ensure we can specify a runnable executable using TCLSH_NATIVE when cross-compiling. This patch also gets smarter about finding the compiler version, the compiler target architecture and the native architecture. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> FossilOrigin-Name: 2e77c2b14bdfb54416ad95991aad51a1a51a38ba
| * | Support cross-compilation to x64 from ix86 hosts when using NMAKE.patthoyts2011-04-201-42/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Part of the build uses tclsh to generate files. Ensure we can specify a runnable executable using TCLSH_NATIVE when cross-compiling. This patch also gets smarter about finding the compiler version, the compiler target architecture and the native architecture. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> FossilOrigin-Name: c8fe7da5dbd7e2f120c9c3e5f9587a741dd82c04
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-3/+0
|\ \ \ | |/ / | | | | | | | | | cause more harm than good. Purged them (except in zlib files). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-3/+0
| |\ \ | | |/ | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-3/+0
| | | | | | | | | | | | | | | more harm than good. Purged them. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * Add -D_CRT_SECURE_NO_DEPRECATE and -D_CRT_NONSTDC_NO_DEPRECATE, reducing the ↵nijtmans2010-10-311-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | number of deprecation warnings on later VC++ versions. Better VCVERSION determination. All changes backported from Tcl8.5/8.6 FossilOrigin-Name: 1a48135d1234e27de1138e95c7167d7422dfad1b
| | * Update for VS10nijtmans2010-10-231-6/+13
| | | | | | | | | FossilOrigin-Name: 7f921df8f48dc4d1e7fde2f5a1031a643456368c
| | * Fix for AMD64 target symbols builds.patthoyts2007-09-111-1/+4
| | | | | | | | | FossilOrigin-Name: e8643e72a03bce02cab2d8723efa0a7cb987fa4f
| | * Fix bug #1582769 build with VC2003 and correct i386 arch.patthoyts2006-10-311-2/+5
| | | | | | | | | FossilOrigin-Name: e624e425c050d26dbd2860302b340e04ea50896d
| | * Ensure builds with VC6 without Platform SDK and Pickup MACHINE from environmentpatthoyts2006-10-181-1/+5
| | | | | | | | | | | | | | | | | | to make life easier on Windows non-x86 platforms. FossilOrigin-Name: d37251d255883908dfec76662fa1da69ad8135b6