aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/cpp/windows-msvc.qbs
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a systemIncludePaths property to the cpp module.William Gallafent2012-11-071-2/+9
| | | | | | | | | | The systemIncludePaths property is used (where compiler support exists) to indicate an include path which should be treated in the same way as system include paths (as opposed to user include paths) are, e.g. using the -isystem flag for GCC and Clang. Change-Id: I746d078119fddf5117bb53e7eaffca5e7b050dcf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* use Transformer item instead of Artifact for PCHs in MSVC moduleJoerg Bornemann2012-11-021-13/+8
| | | | | | | | This ensures that there can only be one C++ PCH. Also the MSVC module uses the same PCH solution as the gcc module. Change-Id: I09ddd3688c50a7f5e419a909344f4e19617c43dd Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* define NDEBUG in release modeJoerg Bornemann2012-10-231-1/+1
| | | | | | | | | | | Add property qbs.enableDebugCode which is true in build variant debug. If qbs.enableDebugCode is set then NDEBUG is added to the platform defines. Task-number: QBS-150 Change-Id: I9a101e51bd3f185ff581a2e133b746b0b241d4bb Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Remove _imp suffix for import libOrgad Shaneh2012-10-161-1/+1
| | | | | Change-Id: I700d73ae4c4bb9432049ace0764dc50f93b53e57 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* avoid the use of TransformPropertiesJoerg Bornemann2012-10-151-34/+21
| | | | | | | We want to remove this feature in a subsequent commit. Change-Id: I5e8b06fe18de8d967e0a60508b40f93bedeb5adb Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Fixed incorrect characters in file paths for WindowsRuslan Nigmatullin2012-09-211-2/+2
| | | | | | | Task-number: QBS-132 Change-Id: I86fbd3ddce3b4182145649382fb0f21f7e4ee7c5 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* fix cpp.compilerDefines for MSVCJoerg Bornemann2012-06-111-1/+1
| | | | | | | MSVC defines _WIN32, not WIN32. Change-Id: I9242d331779207952c180e5e41c580d4872408a3 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* RC: Pass include paths from cppOrgad Shaneh2012-06-051-0/+5
| | | | | | | Also add defines and include paths for mingw Change-Id: Ib592ed3f818a72386a4e484bd256a6e2f1b2bfbf Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Make compilerDefines compatible with qmake mkspecsOrgad Shaneh2012-05-211-1/+1
| | | | | | | | | | Current defines break the following example: signals: void sig(); Change-Id: I716851338b97bc773c05fb9539ad19ac8d1053d4 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Windows resource file support addedJoerg Bornemann2012-05-021-0/+48
| | | | | | | | Windows .rc files can now be added to the files list. Task-number: QBS-52 Change-Id: Id4ffe16b0f0cf38d3c8763031eda3fe5dd0f3c4a Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Product.targetName property addedJoerg Bornemann2012-04-031-4/+4
| | | | | | | | | Product.name serves as identifier for the product. With Product.targetName one can set a different name for the produced file. It defaults to Product.name. Change-Id: I11880ee782a280b452129b0ee84ce8630dca6b9f Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
* MSVC: fix build environment for x64Joerg Bornemann2012-03-221-1/+1
| | | | | | | | | The Windows SDK x64 bin path must be used. Task-number: QBS-79 Change-Id: I1854fd38c128a18c503a039e43da1d53e4ef66c3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* cpp.compilerDefines introducedJoerg Bornemann2012-03-221-1/+2
| | | | | | | | | | This property contains C preprocessor macros that are implicitly defined when using a particular compiler. Its content is passed to moc. Change-Id: Iafde7507b09fce46188e580f0b8b863762bd29a2 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* JavaScript type coercion fixesJoerg Bornemann2012-03-221-1/+1
| | | | | Change-Id: Ic00d072358a14bf834686cf43bee1e272d98f341 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* MSVC: put the Windows SDK's bin path into PATHJoerg Bornemann2012-03-131-0/+2
| | | | | | | This is needed for tools like mt. Change-Id: I09126f73f753c894d51ad32077c3fdffbc31416a Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* cpp module: separate platform defines and user definesJoerg Bornemann2012-03-071-3/+5
| | | | | | | | | | | | The cpp module got a new property platformDefines. That's e.g. used on Windows to define UNICODE. The standard way to set user defines is now cpp.defines: ['NARF', 'ZORT'] again. Change-Id: Ifc4d0a63095dea1b18ec94d63c92e1cf0869b3a3 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* fix windows-msvc.qbsJoerg Bornemann2012-02-281-2/+2
| | | | | Change-Id: If136a9d69174d0cda0f442df3fdc8ea329985823 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* properties for overring C/C++ compiler and linker argsJoerg Bornemann2012-02-281-6/+10
| | | | | | | | | In the cpp module we introduce the properties: cppflags, cflags, cxxflags and linkerFlags. The property compilerFlags was removed Change-Id: Ia883633936b9b638f397d121077714c3f811e6ec Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Added support for custom product's prefix and suffixRuslan Nigmatullin2012-02-241-4/+11
| | | | | Change-Id: I47eb4c9e407c86833d755a054df388c43ce1a67f Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* MSVC: cpp.architecture is now dependent of qbs.architectureJoerg Bornemann2012-02-171-1/+1
| | | | | Change-Id: I802bdbeb54372a4695e5ba938f45498afb8d6af4 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
* Long live qbs!Joerg Bornemann2012-02-151-0/+199
Change-Id: I412793e868919a9ac99611616f292e7047f1ebcf