summaryrefslogtreecommitdiffstats
path: root/Help/command/add_executable.rst
Commit message (Collapse)AuthorAgeFilesLines
* Add support for IMPORTED GLOBAL targets to be aliasedDeniz Bahadir2017-10-261-2/+3
| | | | | Issue: #15569 Issue: #17197
* Defer check for sources within a target until generation.Deniz Bahadir2017-10-241-6/+7
| | | | | | | | | | | | | | | The `add_library` and `add_executable` commands can now be called with no source-files and won't generate a warning or error message, as long as source-files will be added later via the `target_sources` command. If during the generation step still no sources are associated with targets created by such calls a useful error message will be generated and generation fails. Targets of type `INTERFACE_LIBRARY`, `UTILITY` or `GLOBAL_TARGET` are excluded from this check because we do not need sources for these target types during generation. Fixes: #16872
* Help: Document HEADER_FILE_ONLY use caseRoman Lebedev2017-05-091-0/+3
| | | | Describe how to get sources into IDE project files.
* Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-291-1/+1
| | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* Help: Add missing parenthesis in add_executable docsChristopher Dembia2015-10-221-1/+1
|
* cmTarget: Allow any generator expression in SOURCES property.Stephen Kelly2014-04-021-2/+5
| | | | | | | | | | | | | | | | Remove use of UseObjectLibraries from Makefile and Ninja generators. It is not needed now because those generators use GetExternalObjects which already contains the objects from object libraries. The VS10 generator calls both the UseObjectLibraries and the GetExternalObjects methods. Ensure that duplicates are not created by skipping objects from object libraries in handling of GetExternalObjects. Similarly, fix VS6, VS7 and Xcode object handling by skipping external objects from OBJECT_LIBRARY usage as appropriate. The error message in the BadSourceExpression1 test is now reported by the generator expression evaluator, so it has different text.
* Help: Mark up the buildsystem commands documentationStephen Kelly2014-02-061-39/+43
| | | | Cross-link to the cmake-buildsystem manual.
* Help: Fix reStructuredText syntax in auto-generated documentsBrad King2013-10-151-1/+1
|
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+73
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.