summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* PCH: Report error when setting COMPILE_PDB_NAME propertyCristian Adam2019-10-011-0/+1
| | | | | Reusable precompile headers require specific COMPILE_PDB_NAME property values. Report error if the user tries to set a different value.
* Unity build: Add unit testsCristian Adam2019-08-301-0/+9
|
* Precompile headers: Add unit testsCristian Adam2019-08-281-0/+1
|
* source_group: Improved generated filters testsMateusz Janek2019-08-161-0/+1
|
* Merge topic 'vs-spectre-off'Brad King2019-07-311-0/+4
|\ | | | | | | | | | | | | f9b7c660d7 VS: Fix mapping of `-Qspectre-` flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3629
| * VS: Fix mapping of `-Qspectre-` flagBrad King2019-07-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The mapping for this flag was added by commit 43aa632f57 (VS: Populate `-Qspectre-` flag table entry for v142, 2019-01-24, v3.14.0-rc1~74^2~7). However, it did not do anything because the special logic added by commit bb60ed6e72 (VS: Add flag table entry for -Qspectre, 2018-10-08, v3.13.0-rc1~4^2) to move the `SpectreMitigation` element from `ClCompile` to the top level only handled the presence of the setting and not its value. Extend the special logic to carry the value too. Fixes: #19535
* | VS: Add VS_DPI_AWARE target propertyMatt Weir2019-06-261-0/+2
|/ | | | | Enables setting the visual studio project property for Manifests, controlling the DPI Aware setting.
* VS: Added support for VS package references for nugetKinan Mahdi2019-05-301-0/+1
|
* MSVC: Add support for /JMC (Just My Code)Luca Cappa2019-05-141-0/+5
|
* Merge topic 'msvc-runtime-library'Brad King2019-04-171-0/+1
|\ | | | | | | | | | | | | | | | | | | fb3370b6a1 MSVC: Add abstraction for runtime library selection f621e7fa5d VS: Fix Fortran runtime library flag map special case for '-' options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Merge-request: !3211
| * MSVC: Add abstraction for runtime library selectionBrad King2019-04-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded defaults for `/MD` and `/MDd` with a first-class abstraction to select the runtime library from an enumeration of logical names. We've long hesitated to do this because the idea of "runtime library selection" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flags requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0091 to provide compatibility. Fixes: #19108
* | VS: add target property VS_PROJECT_IMPORT_<propspath>Leonid Pospelov2019-04-151-0/+1
|/ | | | Fixes: #18998
* VS: Fix nowarn compiler option to accept warning numbers.Wil Stark2019-02-071-0/+1
| | | | | | Warning disables are transferred to the VS IDE `<NoWarn>` node. Fixes: #18878
* VS: Honor target_compile_definitions for C# projectsWil Stark2019-01-161-0/+1
| | | | Fixes: #18698
* Restore support for a custom source group for CMakeLists.txtBrad King2019-01-141-0/+1
| | | | | | | | | | Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This accidentally dropped generation of the `.vcxproj.filters` entry for a source group in which `CMakeLists.txt` is the only member. Fixes: #18795
* VS: Fix Deploy content in .csproj filesWil Stark2018-12-071-0/+1
|
* VS: Add test for CMAKE_VS_GLOBALSMikhail Korolev2018-09-281-0/+1
|
* VS10Project: Expand VS_DEBUGGER_* capabilitiesJon Chronopoulos2018-06-171-0/+2
| | | | | This adds VS_DEBUGGER_COMMAND_ARGUMENTS and VS_DEBUGGER_ENVIRONMENT as well as allowing VS_DEBUGGER_* to use generator expressions.
* Merge topic 'vs-sdk-dirs'Brad King2018-04-201-0/+1
|\ | | | | | | | | | | | | 6ec3e880e7 VS: Add variables to set SDK directories in vcxproj files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1965
| * VS: Add variables to set SDK directories in vcxproj filesBastien Schatt2018-04-191-0/+1
| | | | | | | | | | | | | | Create `CMAKE_VS_SDK_*_DIRECTORIES` variables to tell the VS generator how to populate fields in `.vcxproj` files that specify SDK directories. Fixes: #17908
* | Merge branch 'backport-fix-explicit-CMakeLists.txt'Brad King2018-04-131-0/+3
|\ \ | |/ |/|
| * Restore support for explicitly referenced CMakeLists.txt sourcesBrad King2018-04-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.11.0-rc1~467^2 (VS,Xcode: Add CMakeLists.txt sources without mutating targets, 2017-10-18) we do not add `CMakeLists.txt` to target sources but instead generate references to them directly. This broke projects that explicitly specify their `CMakeLists.txt` file as a source file because the explicit entry is no longer consolidated with the generated one. Teach the relevant generators to avoid duplicating `CMakeLists.txt` source references and add test cases. Fixes: #17828
* | VS: Add target property VS_DEBUGGER_COMMANDHannes Mezger2018-03-141-0/+1
|/ | | | Fixes: #17819
* VS: Enable generation of CSharp projects without initial .cs filesMichael Stürmer2017-11-291-0/+1
| | | | fixes #17388
* VS: add target property VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname>Michael Stürmer2017-06-131-0/+1
| | | | Fixes: #16689
* VS: add test for VS_CSHARP_* source file propertyMichael Stürmer2017-03-011-0/+1
|
* VS: Add target property VS_DEBUGGER_WORKING_DIRECTORYMichael Stürmer2016-11-301-0/+1
|
* VS: Add option to customize vcxproj user props fileMichael Stürmer2016-11-291-0/+1
| | | | | | Add a `VS_USER_PROPS_CXX` target property to set the user props file of the generated `.vcxproj` file to be something other than the default `$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props`.
* Tests: Extend VS10Project to cover `.targets` file linkingSoji Yamakawa2016-11-151-0/+1
| | | | | | With VS generators for 2010 and above, passing a `.targets` file to `target_link_libraries` is expected to generate content in the `.vcxproj` file to import the targets file. Add a test to cover this.
* VS: Add option to set `ConfigurationType` of a .vcxproj fileFabian Otto2016-02-261-0/+2
Add a VS_CONFIGURATION_TYPE target property to set this value explicitly. This is useful to build a Windows Kernel Mode Driver, for example.