Commit Graph

3024 Commits

Author SHA1 Message Date
Marc Chevrier
023188ffb4 INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support
Fixes: #16532
2018-11-08 14:58:57 +01:00
Kyle Edwards
fdcd559a8e Help: Add documentation and release notes for install
This change adds documentation for the new DESTINATION behavior of
the install() command.
2018-11-07 15:47:21 -05:00
Brad King
bb8da283ce Merge topic 'genex'
86c07b9165 Help: Say early on that generator expressions can be nested.
ab1d7df757 Help: add section on debugging generator expressions.
e0f0f80f02 Help: Explain conversion rules of $<BOOL:string>.
2b2b41f038 Help: Code example for case-insensitive comparison
e045fb202d Help: Terminate explanations with a dot.
3fa0a03b7e Help: Expand placeholders in string comparisons.
fb423b3c49 Help: sort conditional expressions below string-valued ones.
867c9c9c0d Help: Add deprecation date of $<CONFIGURATION>
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !2564
2018-11-07 07:27:27 -05:00
Brad King
389002de96 Merge topic 'FindSQLite3-module'
fe40570608 FindSQLite3: Add module to find SQLite3

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2557
2018-11-07 07:26:46 -05:00
Chuck Atkins
fe40570608 FindSQLite3: Add module to find SQLite3 2018-11-06 15:05:04 -05:00
Brad King
c46dfb2139 Merge topic 'xref2'
2a98a0af46 Help: Link to cmake.org "Get Involved" page from cmake-developer(7)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2537
2018-11-06 15:02:08 -05:00
Joachim Wuttke (h)
2a98a0af46 Help: Link to cmake.org "Get Involved" page from cmake-developer(7) 2018-11-06 14:24:43 -05:00
Brad King
242c14ddbd Merge topic 'cpack-doc-gen-names'
12deb051b3 Help: Use correct CPack generator names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2563
2018-11-06 13:33:21 -05:00
Brad King
bfdd1ba604 Merge topic 'FindPostgreSQL-target'
575e2cc35d FindPostgreSQL: extract the actual version number
7413f29fe6 Tests/FindPostgreSQL: add a test for FindPostgreSQL
d2235fd253 FindPostgreSQL: add an imported target
7a801b7dfb FindPostgreSQL: Modernize documentation layout

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2555
2018-11-06 11:40:16 -05:00
Brad King
7bed050755 Merge topic 'autogen_origin_depends'
47f9c15c60 Autogen: Update <ORIGIN>_autogen target documentation
336893d9eb Autogen: Separate AUTOGEN_TARGET_DEPENDS tests into own tests suite
846043dd35 Autogen: Rename MocDepends test to AutogenOriginDependsOn
b71a9598a4 Autogen: Add test for AUTOGEN_ORIGIN_DEPENDS=OFF
f74c406501 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS release notes
0669de5d36 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS documentation
b5e895b5d4 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2518
2018-11-06 11:38:23 -05:00
Brad King
f55b7bdc5d Merge topic 'FindBoost-explicit-arch-tag'
3f22656d8c Merge branch 'backport-FindBoost-explicit-arch-tag'
1e08b625c2 FindBoost: Add explicit Boost_ARCHITECTURE option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2568
2018-11-06 11:31:55 -05:00
Brad King
1674a5b0a4 Merge topic 'rename-cpack-ext-generator'
20d5e77a27 CPack: Rename Ext generator to External

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2566
2018-11-06 11:30:27 -05:00
Joachim Wuttke (o)
86c07b9165 Help: Say early on that generator expressions can be nested. 2018-11-06 12:55:25 +01:00
Joachim Wuttke (h)
ab1d7df757 Help: add section on debugging generator expressions.
This resolves #18550.
2018-11-06 12:55:25 +01:00
Joachim Wuttke (h)
e0f0f80f02 Help: Explain conversion rules of $<BOOL:string>.
This resolves #18549.
2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
2b2b41f038 Help: Code example for case-insensitive comparison 2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
e045fb202d Help: Terminate explanations with a dot. 2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
3fa0a03b7e Help: Expand placeholders in string comparisons.
And point out that STREQUAL is case sensitive.
2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
fb423b3c49 Help: sort conditional expressions below string-valued ones.
Makes things yet clearer and simpler.
Also correct remnant of "informational expression".
2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
867c9c9c0d Help: Add deprecation date of $<CONFIGURATION> 2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
a85e5e6f4d Help: Add note on omitted <..> notation in cmake-generator-expressions(7) 2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
ff1db47728 Help: Revise documentation of string-valued generator expressions
* Consolidate examples
* Sort, and insert subsection headers
2018-11-06 12:55:24 +01:00
Joachim Wuttke (h)
fe8acf7c05 Help: 3 subtypes of boolean generator expressions.
Main classification by return type,
subclassification by dependences
2018-11-06 12:55:23 +01:00
Joachim Wuttke (h)
9891adf74b Help: Cross-link conditional and boolean expressions.
Rename Logical -> Boolean Generator Expressions.
It's the return type that helps us to sort the expression zoo.
2018-11-06 12:55:23 +01:00
Joachim Wuttke (h)
20b6561e78 Help: new section on conditional generator expressions
Before, the closely related signatures
  $<condition:true_value>
  $<IF:condition,true_value,false_value>
were explained in two different sections.  The former section
was badly explained, with '0' and '1' in place of the formal
parameter 'condition'.
2018-11-06 12:55:23 +01:00
Joachim Wuttke (h)
873e59c0c4 Help: rm unmotivated "This means that"
That generator expressions enable conditional things
has not been said before.

Amended for nicer source format.
2018-11-06 12:55:23 +01:00
Joachim Wuttke (h)
b2a798fe32 Help: expand "ver", "pol", ...
No need to save a few characters on formal parameters.

Use this occasion to correct $<PLATFORM_ID:comp>:
the parameter is a platform_id, not a compiler_id.
2018-11-06 12:55:23 +01:00
Joachim Wuttke (h)
db749f404c Help: expand "..." and "?" in logical generator expressions
Expand "..." and "?", which could be mistaken as metacharacters
(and in the explanations of AND and OR actually were meant as
metacharacters).
2018-11-06 12:55:23 +01:00
Craig Scott
12deb051b3 Help: Use correct CPack generator names
CPack generator names were not used consistently
throughout the documentation, resulting in ambiguity
about what the correct name was for use with the
`cpack -G` option. With the changes in this commit, the
cpack-generators(7) page of the manual now shows the
correct names and other help pages no longer use
inconsistent or incorrect names.
2018-11-06 16:42:38 +11:00
Brad King
3f22656d8c Merge branch 'backport-FindBoost-explicit-arch-tag' 2018-11-05 11:45:58 -05:00
Brad King
1e08b625c2 FindBoost: Add explicit Boost_ARCHITECTURE option
Boost 1.66 and above built with `--layout=versioned` add an architecture
tag to the library file names.  We already try to compute this tag
automatically when `CMAKE_CXX_COMPILER_ARCHITECTURE_ID` is available,
but that is currently not computed everywhere.  Add an explicit
`Boost_ARCHITECTURE` option that a user can set to specify the
architecture tag.

Issue: #17701
2018-11-05 10:55:15 -05:00
Sebastian Holtermann
47f9c15c60 Autogen: Update <ORIGIN>_autogen target documentation 2018-11-05 14:03:01 +01:00
Craig Scott
20d5e77a27 CPack: Rename Ext generator to External
Ext and External were used inconsistently in the code and the
docs. This change converts all uses of Ext to External, including
within variable names used by the generator.
2018-11-05 07:56:03 -05:00
Craig Scott
aa78b61bbc Merge topic 'cpack-gen-docs-link'
c12eefa8fd Help: Fix generators link in cpack(1) manual

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2562
2018-11-04 20:01:08 -05:00
Craig Scott
c12eefa8fd Help: Fix generators link in cpack(1) manual
Minor rewording around the updated link and extra blank line
added to improve readability and remove a potential
ambiguity around the same area.

Fixes: #18545
2018-11-04 08:50:22 +11:00
Sebastian Holtermann
f74c406501 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS release notes 2018-11-03 12:14:40 +01:00
Sebastian Holtermann
0669de5d36 Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS documentation 2018-11-03 12:14:40 +01:00
Ben Boeckel
d2235fd253 FindPostgreSQL: add an imported target 2018-11-01 13:23:33 -04:00
Ben Boeckel
87324b9b6a FindGDAL: add an imported target 2018-11-01 13:16:36 -04:00
Brad King
b8f5eca5e2 Merge topic 'FindMatlab-2018a-API'
42731e94be FindMatlab: Fix linker command under Windows.
ee73e733e4 FindMatlab: Fix compilation error in one specific test configuration.
160499296c FindMatlab: added unit tests for new functionality.
ee7e97a7d3 FindMatlab: add change log item.
d7e19032d5 FindMatlab: `matlab_add_mex` has new options `R2017b` and `R2018a`.
518553d953 FindMatlab: Always find core libraries.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2508
2018-10-30 10:55:52 -04:00
Brad King
d697f4eb48 Merge topic 'target_property-clarification'
213433858f Help: Clarify usage of TARGET_PROPERTY generator expression

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2535
2018-10-29 09:58:00 -04:00
Brad King
d6b7c037b2 Merge topic 'ExternalProject-log-patch'
a4e9391953 ExternalProject: add LOG_PATCH option to log the patch command

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2534
2018-10-29 09:57:17 -04:00
Brad King
f0a9094d80 Merge topic 'no-smiley'
24fa04018c Help: Spell out ";-list" as "semicolon-separated list"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2528
2018-10-29 09:30:25 -04:00
Kyle Edwards
213433858f Help: Clarify usage of TARGET_PROPERTY generator expression
When using $<TARGET_PROPERTY:prop>, the value of prop comes from
the consuming target rather than the current target. Add a note to
clarify this.
2018-10-26 14:43:17 -04:00
Wouter Klouwen
a4e9391953 ExternalProject: add LOG_PATCH option to log the patch command
Most steps support the logging into a file but the patch command is a
notable exception. This commit adds the LOG_PATCH options that acts as
the other LOG_* options.
2018-10-26 16:50:23 +01:00
Brad King
f7b8e67463 Merge topic 'doc-updates'
2f9c253961 Help: clarify "LINKER:" prefix usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2530
2018-10-26 11:02:09 -04:00
Brad King
216df68b32 Merge topic 'xref1'
760c87c73c Help: Back-reference from find_package() to "Find Modules"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2531
2018-10-26 09:40:09 -04:00
Brad King
97624af751 Merge branch 'doc-updates' into release-3.13
Merge-request: !2530
2018-10-26 09:37:41 -04:00
Marc Chevrier
2f9c253961 Help: clarify "LINKER:" prefix usage
Fixes: #18503
2018-10-26 09:36:53 -04:00
Brad King
6166384e3e Merge topic 'relative-rpath'
95bd6317bc RPATH: Record support for $ORIGIN on various *BSD
c9b8c79271 RPATH: Record support for $ORIGIN on Haiku and Solaris
6114d85a7d RPATH: Add option for using $ORIGIN in build tree

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2456
2018-10-26 09:31:00 -04:00