summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* Unity build: Add support for Ninja and Makefile generatorsCristian Adam2019-08-294-0/+84
|
* Merge topic 'precompile-headers'Brad King2019-08-293-0/+34
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da78d4efe Precompile headers: Update documentation 5772930164 Precompile headers: Add unit tests 519606704e Precompile headers: Add support for Visual Studio generators 28be170fbc Precompile headers: Add support for Xcode generator b8626261e9 Precompile headers: Add methods to generate PCH sources 375d01c680 PCH: add example/test 9b6797e71d PCH: add target_precompile_headers command 0467a2f91b PCH: add PRECOMPILE_HEADERS to special properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Ivan171 <heavenandhell171@gmail.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Steve Mokris <smokris@softpixel.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Danila Malyutin <flashmozzg@gmail.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Acked-by: Lucas Zhao <zhaopf6@163.com> Merge-request: !3553
| * Precompile headers: Update documentationCristian Adam2019-08-283-0/+34
| |
* | Merge topic 'vs-ConfigurationType-genex'Brad King2019-08-281-0/+2
|\ \ | | | | | | | | | | | | | | | | | | 8909a450a6 VS: Add support for generator expressions to VS_CONFIGURATION_TYPE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3746
| * | VS: Add support for generator expressions to VS_CONFIGURATION_TYPEDaniel Eiband2019-08-261-0/+2
| |/ | | | | | | | | | | | | | | Generator expressions in target property VS_CONFIGURATION_TYPE might be used to set the ConfigurationType to Utility for certain configurations to not build the target while still linking to the target in other configurations. Fixes: #19613
* | Swift: honour `-swift-version` in Ninja generatorSaleem Abdulrasool2019-08-261-0/+6
|/ | | | | | Swift has supported `CMAKE_Swift_LANGUAGE_VERSION` and `Swift_LANGUAGE_VERSION` but didn't apply that to Ninja generated targets. Consider the property when calculating the flags.
* CUDA: Compilers can now state they don't require a device linking stepRobert Maynard2019-08-061-6/+10
|
* Help: Add documentation for INSTALL_REMOVE_ENVIROMENT_RPATHJiang Yue2019-07-251-0/+10
|
* Merge topic 'msvc-runtime-library-doc'Brad King2019-07-191-0/+3
|\ | | | | | | | | | | | | 282d9f3168 MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3573
| * MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not setBrad King2019-07-191-0/+3
| | | | | | | | | | By default `CMAKE_MSVC_RUNTIME_LIBRARY` is not set. Document the default runtime library selection in that case. We already test it.
| * Merge branch 'doc-CMAKE_FRAMEWORK-crossref' into release-3.15Brad King2019-06-261-1/+3
| |\ | | | | | | | | | Merge-request: !3478
| * \ Merge branch 'doc-IMPORTED_LOCATION' into release-3.15Brad King2019-06-211-4/+11
| |\ \ | | | | | | | | | | | | Merge-request: !3466
* | | | AIX: Create import library for executables with exportsBrad King2019-07-162-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On AIX, plugins meant to be loaded into executables via `dlopen` must be linked with access to a list of symbols exported from the executable in order to use them (when not using runtime linking). The AIX linker supports specifying this list as an "import file" passed on the command line either via the `-bI:...` option or (with a leading `#! .` line) as a normal input file like any other library file. The linker import file plays the same role on AIX as import libraries do on Windows. Teach CMake to enable its import library abstraction on AIX for executables with the `ENABLE_EXPORTS` target property set. Teach our internal `ExportImportList` script to optionally generate a leading `#! .` line at the top of the generated export/import list. Update our rule for linking an executable with exports to generate a public-facing "import library" implemented as an AIX linker import file. With this approach, our existing infrastructure for handling import libraries on Windows will now work for AIX linker import files too: * Plugins that link to their executable's symbols will be automatically linked using the import file on the command line. * The executable's import file will be (optionally) installed and exported for use in linking externally-built plugins. This will allow executables and their plugins to build even if we later turn off runtime linking. Issue: #19163
* | | | Help: Clarify ENABLE_EXPORTS per-platform link behaviorBrad King2019-07-161-9/+14
| | | | | | | | | | | | | | | | Spell out the behavior on each platform in a bullet list.
* | | | Merge topic 'vs-dpi-aware'Brad King2019-06-271-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd92f8f8bf VS: Add VS_DPI_AWARE target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3418
| * | | | VS: Add VS_DPI_AWARE target propertyMatt Weir2019-06-261-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Enables setting the visual studio project property for Manifests, controlling the DPI Aware setting.
* | | | | Merge topic 'build-install-rpath-genex'Brad King2019-06-262-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d29ed8a114 BUILD_RPATH/INSTALL_RPATH: Add generator expression support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3481
| * | | | | BUILD_RPATH/INSTALL_RPATH: Add generator expression supportKyle Edwards2019-06-252-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19423
* | | | | | Merge topic 'doc-CMAKE_FRAMEWORK-crossref'Brad King2019-06-261-1/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | f57a53d43e Help: Document that CMAKE_FRAMEWORK initializes FRAMEWORK target prop Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3478
| * | | | Help: Document that CMAKE_FRAMEWORK initializes FRAMEWORK target propCraig Scott2019-06-251-1/+3
| |/ / /
* | | | Merge topic 'doc-IMPORTED_LOCATION'Brad King2019-06-241-4/+11
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | 96c6bc2584 Help: Improve documentation of IMPORTED_LOCATION property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !3466
| * | Help: Improve documentation of IMPORTED_LOCATION propertyAlexandru Croitor2019-06-211-4/+11
| |/ | | | | | | | | | | | | | | Mention the usage of a configuration specific `IMPORTED_LOCATION_<CONFIG>` value even if the `<CONFIG>` is not the same as the active configuration of the currently built project. Co-Author: Brad King <brad.king@kitware.com>
* | Help: Autogen: Overhaul AUTOMOC target property documentationSebastian Holtermann2019-06-191-62/+212
| | | | | | | | | | | | | | - Rewrites and restructures the AUTOMOC target property documentation - Remove the reference to the deprecated CMAKE_AUTOMOC_RELAXED_MODE Fixes: #19167
* | Help: Autogen: Overhaul AUTOUIC target property documentationSebastian Holtermann2019-06-191-26/+61
| |
* | Help: Autogen: Overhaul AUTORCC target property documentationSebastian Holtermann2019-06-191-18/+33
|/
* Help: Improve ADDITIONAL_CLEAN_FILES documentationSebastian Holtermann2019-06-071-5/+12
| | | | | | | Extend the `ADDITIONAL_CLEAN_FILES' target and directory property documentation. Fixes: #19341
* Help: Document Swift_DEPENDENCIES_FILE property defaultsBrad King2019-06-041-1/+1
| | | | Copy wording from the release notes.
* Teach CROSSCOMPILING_EMULATOR to support argumentsMarek Antoniak2019-06-031-0/+4
| | | | Fixes: #19321
* VS: Added support for VS package references for nugetKinan Mahdi2019-05-301-0/+13
|
* Merge topic 'doc-ipo-check'Brad King2019-05-211-1/+3
|\ | | | | | | | | | | | | a59662bb5b Help: Add CheckIPOSupported link to INTERPROCEDURAL_OPTIMIZATION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3333
| * Help: Add CheckIPOSupported link to INTERPROCEDURAL_OPTIMIZATIONRuslan Baratov2019-05-171-1/+3
| |
* | Merge topic 'ninja-swift'Brad King2019-05-203-0/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9180ccf9a Tests: add a check for the Swift compiler d745551fb6 Help: add some initial documentation for Swift support 9a182c9e5b Auxiliary: update vim syntax highlighting e9b0063e8e Modules: add build rules for Swift Ninja support b6412e3e38 Ninja: add placeholders to support Swift build 7d7f31161d Ninja: add support for Swift's output-file-map.json d688c4c19d Swift: remove unnecessary unreleased Ninja infrastructure 0723582208 Swift: Detect compiler version ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3297
| * | Help: add some initial documentation for Swift supportSaleem Abdulrasool2019-05-163-0/+20
| |/
* | Merge topic 'autogen_ninja_clean'Brad King2019-05-171-1/+1
|\ \ | |/ |/| | | | | | | | | | | 93ee7dd044 Autogen: Update documentation for ADDITIONAL_CLEAN_FILES 4b4fd99f41 Autogen: Use ADDITIONAL_CLEAN_FILES target property for file cleaning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3327
| * Autogen: Update documentation for ADDITIONAL_CLEAN_FILESSebastian Holtermann2019-05-151-1/+1
| | | | | | | | | | Update the AUTOGEN documentation for the use of `ADDITIONAL_CLEAN_FILES` instead of `ADDITIONAL_MAKE_CLEAN_FILES`.
* | Merge topic 'msvc-jmc'Brad King2019-05-151-0/+10
|\ \ | |/ |/| | | | | | | | | 2a9ff9703e MSVC: Add support for /JMC (Just My Code) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3121
| * MSVC: Add support for /JMC (Just My Code)Luca Cappa2019-05-141-0/+10
| |
* | Doc: Add documentation for ADDITIONAL_CLEAN_FILES propertiesSebastian Holtermann2019-05-141-0/+16
|/
* MSVC: Document and test behavior of empty MSVC_RUNTIME_LIBRARYBrad King2019-04-221-0/+5
| | | | | | | | Extend tests added by commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10) to cover an empty value for the property. It should result in no specific setting. Issue: #19108
* Merge topic 'msvc-runtime-library'Brad King2019-04-172-0/+41
|\ | | | | | | | | | | | | | | | | | | 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-172-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge topic 'vs-project-import'Brad King2019-04-161-0/+8
|\ \ | |/ |/| | | | | | | | | d145d72e70 VS: add target property VS_PROJECT_IMPORT_<propspath> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3143
| * VS: add target property VS_PROJECT_IMPORT_<propspath>Leonid Pospelov2019-04-151-0/+8
| | | | | | | | Fixes: #18998
* | Help: Remove empty literal block markup in RESOURCE target propertyBrad King2019-04-051-1/+1
| | | | | | | | | | This was added accidentally by commit 456e0fb64f (Help: Improve documentation formating, 2019-04-01).
* | Help: Improve documentation formatingBartosz Kosiorek2019-04-0464-167/+173
|/
* Xcode: Create Xcode schemes per targetHarry Mallon2019-03-2120-19/+58
|
* XCode: Add scheme option XCODE_SCHEME_DEBUG_AS_ROOTHarry Mallon2019-03-111-0/+7
|
* Help: Link from EXPORT_NAME to relevant export commandsNeroBurner2019-02-271-3/+3
|
* Merge topic 'docs-rpath-origin-apple'Brad King2019-02-271-7/+7
|\ | | | | | | | | | | | | bf10f02441 Help: Fix minor inaccuracies of what BUILD_RPATH_USE_ORIGIN affects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3020
| * Help: Fix minor inaccuracies of what BUILD_RPATH_USE_ORIGIN affectsCraig Scott2019-02-271-7/+7
| |