summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt
Commit message (Collapse)AuthorAgeFilesLines
* Help: Add references and backticks in LINK_FLAGS prop_tgtBeren Minor2018-01-081-2/+3
|
* Unhardcode the CMAKE_CONFIGURATION_TYPES valuesBeren Minor2018-01-081-1/+1
| | | | | | | | | | | | This removes duplicated code for per-config variable initialization by providing a `cmake_initialize_per_config_variable(<PREFIX> <DOCSTRING>)` function. This function initializes a `<PREFIX>` cache variable from `<PREFIX>_INIT` and unless the `CMAKE_NOT_USING_CONFIG_FLAGS` variable is defined, does the same with `<PREFIX>_<CONFIG>` from `<PREFIX>_<CONFIG>_INIT` for every `<CONFIG>` in `CMAKE_CONFIGURATION_TYPES` for multi-config generators or `CMAKE_BUILD_TYPE` for single-config generators.
* Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-211-1/+1
| | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* Merge topic 'cuda-sep-comp-var'Brad King2017-11-201-0/+4
|\ | | | | | | | | | | | | | | 00e13993 CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Korsunsky <a.korsunsky@gmail.com> Merge-request: !1495
| * CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variableBrad King2017-11-171-0/+4
| | | | | | | | | | | | | | Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
* | Help: Fix cross-reference in COMPILE_FLAGS target property docsCraig Scott2017-11-191-1/+1
|/
* Add new target-property `IMPORTED_GLOBAL`.Deniz Bahadir2017-11-071-0/+22
| | | | | | | | | | | | | | | The purpose of this new `IMPORTED_GLOBAL` target-property is to prolong the lifetime and scope of `IMPORTED` targets in such a way as if they had been created with the keyword `GLOBAL` in the first place. * It can only be set to `TRUE`. That means, a local `IMPORTED` target can be promoted to global scope but a global `IMPORTED` target cannot be degraded to local scope! * Setting it to `TRUE` only succeeds if done from within the same directory in which the `IMPORTED` target was created in the first place. Fixes #17256.
* Merge topic 'doc-cxx-std-msvc'Brad King2017-10-242-2/+4
|\ | | | | | | | | | | | | e0587669 Help: Correct <LANG>_STANDARD help w.r.t. MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1401
| * Help: Correct <LANG>_STANDARD help w.r.t. MSVCChristian Pfeiffer2017-10-232-2/+4
| | | | | | | | Fixes: #17380
* | Merge topic 'imported-interface-no-system'Brad King2017-10-161-7/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | 22beb07f Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTED 2de0e0fd Do not initialize NO_SYSTEM_FROM_IMPORTED on INTERFACE libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1386
| * | Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTEDBrad King2017-10-131-7/+11
| |/ | | | | | | | | | | | | This property is meant to be set on the consumers of imported targets, not the imported targets themselves. Fixes: #17348
* | Merge topic 'autogen-skip-ui'Brad King2017-10-112-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | e95429fd Autogen: Docs: Extend SKIP_AUTOUIC documentation 814cddbe Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONS 1c196268 Autogen: Allow setting SKIP_AUTOUIC/GEN on .ui files not in the sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1366
| * | Autogen: Docs: Add examples for AUTORCC_OPTIONS and AUTOUIC_OPTIONSSebastian Holtermann2017-10-092-0/+18
| |/
* | Merge topic 'doc_bundle_wrong_plist_property'Brad King2017-10-101-1/+1
|\ \ | | | | | | | | | | | | | | | | | | a56d9ecf Help: Fix wrong property reference for an app bundle's Info.plist Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1362
| * | Help: Fix wrong property reference for an app bundle's Info.plistCraig Scott2017-10-071-1/+1
| |/
* | Help: Fix Example appearing in target property list of contentsCraig Scott2017-10-072-2/+3
|/
* Merge topic 'autogen-predefs'Brad King2017-10-022-0/+27
|\ | | | | | | | | | | | | | | | | 6bbc1e77 Autogen: Add release notes for (CMAKE_)AUTOMOC_COMPILER_PREDEFINES 75c98b5e Autogen: Doc: Add documentation for (CMAKE_)AUTOMOC_COMPILER_PREDEFINES 1d7f099d Autogen: Add (CMAKE_)AUTOMOC_COMPILER_PREDEFINES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1328
| * Autogen: Doc: Add documentation for (CMAKE_)AUTOMOC_COMPILER_PREDEFINESSebastian Holtermann2017-09-292-0/+27
| | | | | | | | | | | | Also adds the documentation for CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND. Closes #17275
* | Merge topic 'cuda_9_support'Brad King2017-09-291-1/+1
|\ \ | |/ |/| | | | | | | | | fe37b994 CUDA: Add support for requesting C++98 under CUDA 9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1315
| * CUDA: Add support for requesting C++98 under CUDA 9Robert Maynard2017-09-261-1/+1
| | | | | | | | | | | | | | | | | | Starting in CUDA 9 the default compilation mode is C++14, and you need to explicitly enable C++98/03 mode. While at it, document `14` among the values for `CUDA_STANDARD`. This was accidentally left out of commit v3.9.0-rc1~118^2 (CUDA: Add support for the C++14 standard flag, 2017-05-11).
* | Autogen: Doc: Update documentation for (CMAKE_)AUTOMOC_MACRO_NAMESSebastian Holtermann2017-09-282-19/+22
| |
* | Autogen: Docs: Add documentation internal linksSebastian Holtermann2017-09-252-4/+4
|/
* Add properties to run cppcheck along with the compilerBill Hoffman2017-08-301-0/+13
| | | | | | Create a `<LANG>_CPPCHECK` target property (initialized by a `CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line to be run along with the compiler.
* Autogen: Add documentation for AUTOMOC_MACRO_NAMESSebastian Holtermann2017-08-182-5/+37
|
* Autogen: Update documentation for per-config include dirSebastian Holtermann2017-08-052-0/+6
|
* Vs: fix documentation for target property VS_DOTNET_REFERENCEPROP_*Michael Stürmer2017-06-171-6/+9
|
* VS: add target property VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname>Michael Stürmer2017-06-131-0/+11
| | | | Fixes: #16689
* CUDA: Add option to run the compiler through launcher toolsBrad King2017-06-091-1/+2
| | | | | | | | Add a `CUDA_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04). Fixes: #16953
* Autogen: Do not use per-config file suffixes with VS yetBrad King2017-06-072-10/+0
| | | | | | | | | The change in commit v3.9.0-rc1~42^2~1 (Autogen: Per-config file suffixes, 2017-05-15) broke Visual Studio builds because the generators do not yet fully support per-config sources. Disable the behavior on Visual Studio generators for now. Fixes: #16939
* Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-263-13/+48
| | | | | Closes #14760 Closes #14313
* CUDA: Static libraries can now explicitly resolve device symbolsRobert Maynard2017-04-261-0/+15
| | | | | | | If a static library has the property CUDA_RESOLVE_DEVICE_SYMBOLS enabled it will now perform the device link step. The normal behavior is to delay calling device link until the static library is consumed by a shared library or an executable.
* Merge topic 'enable_ptx_compilation'Brad King2017-04-211-0/+12
|\ | | | | | | | | | | | | 23691d78 CUDA: Allow sources to be compiled to .ptx files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !725
| * CUDA: Allow sources to be compiled to .ptx filesRobert Maynard2017-04-201-0/+12
| | | | | | | | | | When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT libraries will generate ptx files instead of object files.
* | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-191-1/+1
|/ | | | This generator has been deprecated since CMake 3.6. Remove it.
* Merge topic 'objlib-extend'Brad King2017-04-192-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec93bce Allow OBJECT libraries to be installed, exported, and imported 93c89bc7 Genex: Allow TARGET_OBJECTS to be used everywhere ac0cf7ff Genex: Reject TARGET_OBJECTS on non-object libraries earlier 8577978c Tests: ExportImport C code should use explicit (void) in prototypes 26cfd039 cmInstallTargetGenerator: Re-order GenerateScriptForConfig logic 25f3f22a cmGlobalGenerator: Add method to check if object file location is known d596c550 cmGeneratorTarget: Add method to get the object file directory 930042f2 cmGeneratorTarget: Factor out a GetTargetObjectNames method ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !712
| * Allow OBJECT libraries to be installed, exported, and importedRobert Maynard2017-04-182-0/+18
| | | | | | | | | | | | | | | | Teach install() and export() to handle the actual object files. Disallow this on Xcode with multiple architectures because it still cannot be cleanly supported there. Co-Author: Brad King <brad.king@kitware.com>
* | Support CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>Ruslan Baratov2017-04-171-0/+4
|/
* Merge topic 'emulatorTargetPropertyDocs'Brad King2017-04-101-0/+4
|\ | | | | | | | | | | | | 186dd877 Help: Cross compile variable used as initial value for target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !683
| * Help: Cross compile variable used as initial value for target propertyCraig Scott2017-04-101-0/+4
| | | | | | | | | | | | | | Variable CMAKE_CROSSCOMPILING_EMULATOR is used to initialize CROSSCOMPILING_EMULATOR. Issue: #16785
* | Merge topic 'module-def-and-WINDOWS_EXPORT_ALL_SYMBOLS'Brad King2017-03-221-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 075f6454 Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` files 21c4ec4f cmGlobalVisualStudioGenerator: Simplify __create_def command generation 24361a45 bindexplib: Add support for parsing and integrating `.def` files 845c4824 bindexplib: Add method for parsing and integrating `.def` files 4f90e793 bindexplib: Revise coding style of CMake-specific methods Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !581
| * | Support WINDOWS_EXPORT_ALL_SYMBOLS with `.def` filesBrad King2017-03-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `WINDOWS_EXPORT_ALL_SYMBOLS` target property exports all symbols found in object files explicitly given to the linker. However, the linker may also find additional symbols in dependencies and copy them into the linked binary (e.g. from `msvcrt.lib`). Provide a way to export an explicit list of such symbols by adding a `.def` file as a source file. Fixes: #16473
* | | Autogen: Add AUTOGEN_SOURCE_GROUP documentationSebastian Holtermann2017-03-162-0/+6
|/ /
* | Merge topic 'doc-map-config-prop-example'Brad King2017-03-061-0/+45
|\ \ | | | | | | | | | | | | | | | | | | 957bdb9e Help: Add example to MAP_IMPORTED_CONFIG_<CONFIG> docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !545
| * | Help: Add example to MAP_IMPORTED_CONFIG_<CONFIG> docsRuslan Baratov2017-03-061-0/+45
| | |
* | | Add variable 'CMAKE_INTERPROCEDURAL_OPTIMIZATION'Ruslan Baratov2017-03-021-0/+4
|/ /
* | Autogen: Add AUTOUIC_SEARCH_PATHS documentationSebastian Holtermann2017-03-023-3/+20
| |
* | Autogen: Add AUTOMOC_DEPEND_FILTERS documentationSebastian Holtermann2017-02-232-0/+48
| |
* | Autogen: Documentation updateSebastian Holtermann2017-02-211-22/+32
| | | | | | | | Closes #15254
* | Add policy CMP0068 separate install_name and RPATH settings on macOSClinton Stimpson2017-02-142-5/+5
| | | | | | | | | | | | | | | | BUILD_WITH_INSTALL_RPATH, SKIP_BUILD_RPATH, CMAKE_SKIP_RPATH and CMAKE_SKIP_INSTALL_RPATH no longer any effect on the install name of a target on macOS. Fixes: #16589
* | Apple: Add BUILD_WITH_INSTALL_NAME_DIR target propertyClinton Stimpson2017-02-142-0/+17
| | | | | | | | | | This new property controls whether to apply INSTALL_NAME_DIR to the build tree. It also overrides BUILD_WITH_INSTALL_RPATH.