Rolf Eike Beer
3a0d164bb2
allow to mark a test as "Not Run" with a specific return code ( #8466 )
2014-01-14 23:57:40 +01:00
Brad King
071005add1
Merge topic 'support-codelite-ide-generator'
...
0c4e8c70
Add support for codelite IDE project fles
2014-01-13 10:28:37 -05:00
Nils Gladitz
0bf6f13b1d
AddDependencies: new policy requires dependencies to exist
...
Added new policy CMP0046 which requires dependencies added by
add_dependencies() to actually exist.
2014-01-12 12:58:04 +01:00
Eran Ifrah
0c4e8c70a0
Add support for codelite IDE project fles
2014-01-10 09:20:11 +02:00
Brad King
98bdd78afc
Merge topic 'extend-docs'
...
2f15a07
Help: Link to CMAKE_POLICY_DEFAULT_CMP<NNNN> in policies manual.
bb8bde3
Help: Add notes about relocatability of config-file packages.
2014-01-09 16:26:30 -05:00
Brad King
e56530f612
Merge topic 'minor-cleanups'
...
531e40b
cmTarget: Make GetSourceFiles populate an out-vector parameter.
38de54c
cmGeneratorTarget: Add methods to access source file groups.
f579fe0
Help: Fix link to MAP_IMPORTED_CONFIG_<CONFIG>
590d238
cmTarget: Handle NO_SYSTEM_FROM_IMPORTED.
2014-01-09 13:54:23 -05:00
Stephen Kelly
2f15a07727
Help: Link to CMAKE_POLICY_DEFAULT_CMP<NNNN> in policies manual.
2014-01-09 19:45:08 +01:00
Stephen Kelly
bb8bde35b8
Help: Add notes about relocatability of config-file packages.
2014-01-09 19:45:08 +01:00
Brad King
15562c11ef
Merge topic 'policies'
...
73e9340
get_target_property: Error on non-existent target.
ab9f58f
FindQt4: Ensure target exists before calling get_target_property.
37ebeb9
FindQt4: Fix use of get_target_property to use actual target name.
6aabb6a
Genex: Use case-sensitive comparison for COMPILER_ID.
5bb53f6
cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
2014-01-09 09:37:20 -05:00
Brad King
69c366a281
Merge topic 'optional-install'
...
be0458c
InstallRules: added new variable to disable generation of install rules
2014-01-09 09:37:17 -05:00
Stephen Kelly
73e93400e2
get_target_property: Error on non-existent target.
...
Introduce policy CMP0045 to control this behavior.
2014-01-08 16:41:34 +01:00
Stephen Kelly
6aabb6a62b
Genex: Use case-sensitive comparison for COMPILER_ID.
2014-01-08 16:41:34 +01:00
Stephen Kelly
5bb53f6b73
cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy.
2014-01-08 16:41:34 +01:00
Nils Gladitz
be0458c562
InstallRules: added new variable to disable generation of install rules
...
The boolean variable CMAKE_SKIP_INSTALL_RULES
allows disabling generation of install rules for projects which don't
want them.
2014-01-08 16:28:14 +01:00
Stephen Kelly
f579fe0d7a
Help: Fix link to MAP_IMPORTED_CONFIG_<CONFIG>
2014-01-08 16:06:41 +01:00
Stephen Kelly
28ffb7e0be
Note how to write CMP0022 compatible code with CMake 2.8.9.
...
This has come up on the mailing list, and various other places.
2014-01-08 13:41:24 +01:00
Brad King
855e8759fd
Merge topic 'minor-cleanups'
...
3917d86
Genex: Add a nullary form for CONFIG
5169130
Help: Document the target properties exported to IMPORTED targets.
ee21f1c
CompatibleInterface: Test debugging of not-set property.
80e9fe9
Help: Note that language-specific 'built-ins' are set by the project command.
0b5bf8a
Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.
28c865b
Tests: simplify Qt4 target usage
6cfe6b8
Help: Fix typo: 'target' -> 'target property'
b7deca4
Test: Remove obsolete commented code.
9c9f69f
Genex: Make EQUAL support upper case binary literals
6eb3218
Genex: Fix case of methods in the dag checker.
646c6ec
Genex: Use a preprocessor loop to implement transitive DAG check.
711fb38
Genex: List transitive properties and methods as a table, not two lists.
802a28f
Add cmHasLiteralSuffix API.
2014-01-07 09:39:22 -05:00
Stephen Kelly
3917d86b26
Genex: Add a nullary form for CONFIG
...
This is consistent with other similar expressions such as PLATFORM_ID,
and makes the CONFIGURATION expression obsolete.
Fix an off-by-one error in
GeneratorExpressionContent::EvaluateParameters exposed by a unit test.
Remove the test for 'bad' nullary use of $<CONFIG>.
Add a unit test to verify that $<CONFIG> and $<CONFIGURATION> have
the same value.
2014-01-07 09:38:01 -05:00
Stephen Kelly
5169130539
Help: Document the target properties exported to IMPORTED targets.
2014-01-07 09:38:01 -05:00
Stephen Kelly
80e9fe9cee
Help: Note that language-specific 'built-ins' are set by the project command.
2014-01-07 09:38:01 -05:00
Stephen Kelly
0b5bf8ad0b
Help: Mention CMAKE_DISABLE_FIND_PACKAGE_<PackageName> in package docs.
2014-01-07 09:38:00 -05:00
Stephen Kelly
6cfe6b881d
Help: Fix typo: 'target' -> 'target property'
2014-01-07 09:38:00 -05:00
Stephen Kelly
58c174e945
Help: Document the C++ subset permitted for CMake code.
...
This may be incomplete, but further limitations can be added when
needed.
2014-01-06 19:15:31 +01:00
Stephen Kelly
9eb06d0dde
add_library: Disallow invalid signatures for INTERFACE_LIBRARY.
...
Document the valid signatures. Add a test for the IMPORTED GLOBAL
signature.
2014-01-06 17:25:10 +01:00
Stephen Kelly
2af966d9ab
Genex: Add EQUAL expression.
...
Support decimal, hex, octal and binary literals.
2014-01-06 17:25:09 +01:00
Brad King
b225dbbd02
Merge topic 'minor-cleanups'
...
a55c70d
cmTarget: Remove support for <CONFIG>_LOCATION property.
c9f9b3c
cmTarget: Test impliedByUse number-compatible properties.
fbe1fa7
cmTarget: Don't repeat property origin debug information.
01c545c
cmTarget: Fix debug report for interface-set compatibility types.
c67e1a6
cmTarget: Fix reporting interface-set properties which are FALSE.
07b0f54
Qt Tests: Remove commented and unneeded line.
79db8ef
cmTarget: Fix the property compatibility error message
43340a9
Help: Reformat Qt autogenerator documentation.
d98ea6c
Help: Mark some code blocks as containing cmake code.
ea78935
GenerateExportHeader: Reformat docs.
272a20f
cmTarget: Don't update IMPORTED target compilation properties
03d842a
Run the add_compile_options command unit test.
cd3d0b6
get_property: Fix testing ALIASED_TARGET target property (#14670 )
6a62228
install: Ensure that install(TARGETS) works with no DESTINATION
af3d3b8
export: Only generate and install configuration files if needed.
0de81bb
Help: Workaround pygments reporting an error for genexes.
...
2014-01-06 11:15:34 -05:00
Stephen Kelly
0d9cdab93d
Help: Add cmake-buildsystem.7 manual
...
Describe how to define a buildsystem of binary targets, how to
express dependencies between them, how to add build specifications,
how to specify usage requirements, transitive and compatible
propagation and the various pseudo targets.
2014-01-06 10:25:24 -05:00
Stephen Kelly
43340a9c96
Help: Reformat Qt autogenerator documentation.
2014-01-04 11:28:57 +01:00
Stephen Kelly
d98ea6c0b8
Help: Mark some code blocks as containing cmake code.
2014-01-04 11:28:57 +01:00
Brad King
6cff2afc8b
Merge topic 'export-EXPORT-subcommand'
...
98b9f52
Help: Document export(EXPORT) in the cmake-packages manual.
a1d2bda
Don't copy find_dependency in configure_package_config_file.
f4f6529
Help: cmake-packages: Add missing slash.
cbe7e8f
export: Implement EXPORT subcommand (#9822 )
2014-01-02 14:44:08 -05:00
Brad King
0d63bdd2d9
Merge topic 'rpath-default'
...
d25ad48
OS X: Add CMP0042 to enable MACOSX_RPATH by default
2014-01-02 14:23:09 -05:00
Clinton Stimpson
d25ad482e9
OS X: Add CMP0042 to enable MACOSX_RPATH by default
...
Also adding documentation for CMAKE_MACOSX_RPATH, and improving
documentation for MACOSX_RPATH.
2014-01-02 13:41:49 -05:00
Stephen Kelly
98b9f52bc9
Help: Document export(EXPORT) in the cmake-packages manual.
2013-12-24 13:02:49 +01:00
Stephen Kelly
a1d2bda23e
Don't copy find_dependency in configure_package_config_file.
...
There is not really any need to. Downstreams can either rely on it
being provided by CMake, or copy and distribute it.
Change the documented include for the find_dependency macro.
2013-12-24 13:02:49 +01:00
Stephen Kelly
f4f6529354
Help: cmake-packages: Add missing slash.
2013-12-24 13:02:49 +01:00
Stephen Kelly
cbe7e8fae4
export: Implement EXPORT subcommand ( #9822 )
...
Teach the export command to handle export sets defined by invocations
of install(TARGETS ... EXPORT foo). This makes maintenance of targets
exported to both the build tree and install tree trivial.
2013-12-24 13:02:49 +01:00
Brad King
12862e939f
Help: Simplify top-level index organization
...
Revise the organization introduced in commit 2c7cd95c
(Help: Organize
top-level index, 2013-10-28) to drop "Other Manuals" and put them in
"Reference Manuals" because the distinction between them has blurred.
Perhaps a better breakdown of the reference manuals will emerge in
the future.
While at it, sort the reference manual toctree by name.
2013-12-20 15:10:10 -05:00
Brad King
4372365177
Merge topic 'cmake-packages-manual'
...
3fe4ac8
Help: Add a CMake manual for Packages related docs.
20cafa2
Split the find_dependency macro into a separate file.
2013-12-20 15:01:26 -05:00
Stephen Kelly
3fe4ac828d
Help: Add a CMake manual for Packages related docs.
2013-12-20 19:20:31 +01:00
Brad King
6820882be5
Merge topic 'extend-policies-manual'
...
8f849b9
Help: Mention if(POLICY) and NO_POLICY_SCOPE in policies manual.
2013-12-20 09:41:52 -05:00
Brad King
053c39c4d9
Merge topic 'doc-clarify-CMAKE_VERBOSE_MAKEFILE'
...
0227ece
Help: Clarify CMAKE_VERBOSE_MAKEFILE initialization (#14658 )
2013-12-20 09:41:47 -05:00
Stephen Kelly
8f849b9071
Help: Mention if(POLICY) and NO_POLICY_SCOPE in policies manual.
2013-12-20 12:32:43 +01:00
Brad King
0227ece0a6
Help: Clarify CMAKE_VERBOSE_MAKEFILE initialization ( #14658 )
...
Explain that it is initialized to false by the project() command and
intended for configuration by the end user performing a build.
2013-12-19 14:48:51 -05:00
Stephen Kelly
4cb7d792af
Help: Fix CMP0037 docs.
...
INTERFACE libraries may not use double-colons, but IMPORTED
targets may.
2013-12-19 16:17:58 +01:00
Stephen Kelly
5187580bcd
Help: Add missing period.
2013-12-19 16:17:58 +01:00
Brad King
b375c18b9e
Merge topic 'doc-clarify-if-TARGET'
...
6b8662e
Help: Clarify if(TARGET) behavior (#14646 )
b74819e
Help: Format 'if' command documentation
2013-12-19 10:13:53 -05:00
Brad King
6b8662e681
Help: Clarify if(TARGET) behavior ( #14646 )
...
Define the meaning of a "target" clearly and link to the commands
that create them.
2013-12-18 12:15:43 -05:00
Brad King
b74819e4fe
Help: Format 'if' command documentation
...
Manually update reStructuredText formatting. Use a definition list
for the possible if() tests supported. Add inline literal markup
as appropriate. Also make minor wording tweaks to make it flow
better with the new markup.
2013-12-18 12:14:24 -05:00
Stephen Kelly
20cafa2e1f
Split the find_dependency macro into a separate file.
...
This allows Config file authors to use it without having to use
CONFIGURE_PACKAGE_CONFIG_FILE.
2013-12-13 16:14:02 +01:00
Stephen Kelly
e2cb3e7d43
Help: Note that COMPATIBLE_INTERFACE_ properties may be origin-debugged.
...
Link to other properties mentioned in the docs already.
2013-12-13 14:48:19 +01:00