| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| |/
|/|
| |
| |
| |
| | |
We no longer add granular compile features. Only language standard
meta features like `cxx_std_##`` need to be added, and these can
be done by following existing patterns.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move deprecated or obsolete modules to the section
"Deprectated Modules" of cmake-modules(7):
- MacroAddFileDependencies (Text says: Using the macro
MACRO_ADD_FILE_DEPENDENCIES() is discouraged.)
- UsePkgConfig (Text calls it "obsolete")
- Use_wxWindows (was already listed in deprecation section)
|
|\ \
| |/
|/|
| |
| |
| |
| | |
ff800a768c Help: move CMakeParseArguments to deprecated section
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2595
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
c4b4d8b3a6 POSITION_INDEPENDENT_CODE: Manage link flags for executables
724a0346f7 POSITION_INDEPENDENT_CODE: Fix erroneous '-fPIE' flag for Sun Studio
023188ffb4 INTERFACE_POSITION_INDEPENDENT_CODE: add generator expressions support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2465
|
| | |
| | |
| | |
| | | |
Fixes: #14983, #16561
|
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
This resolves issue #18514
Also add a cross-reference to if(DEFINED ENV{var}).
|
| |
| |
| |
| |
| | |
Explain that the short form of variable references
in the if command does not apply to ENV and CACHE vars.
|
| |
| |
| |
| |
| | |
Short intro to pages cmake-variables.7 and cmake-env-variables.7,
with backlinks to cmake-language.7.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
Section "Variables References" said that environment and cache
variables are "evaluated in the same contexts as a normal variable
reference". The reader has to guess what "contexts" means in
this context. Probably "inside a Quoted Argument or an Unquoted
Argument", exactly as for ordinary variable references.
But this is exactly what the reader would tacitly assume anyway.
Therefore I think the removed clause was unnecessary, and possibly
more confusing than helpful.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| |
| |
| |
| | |
This resolves #18550.
|
| |
| |
| |
| | |
This resolves #18549.
|
| | |
|
| | |
|
| |
| |
| |
| | |
And point out that STREQUAL is case sensitive.
|
| |
| |
| |
| |
| | |
Makes things yet clearer and simpler.
Also correct remnant of "informational expression".
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
* Consolidate examples
* Sort, and insert subsection headers
|
| |
| |
| |
| |
| | |
Main classification by return type,
subclassification by dependences
|
| |
| |
| |
| |
| | |
Rename Logical -> Boolean Generator Expressions.
It's the return type that helps us to sort the expression zoo.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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'.
|
| |
| |
| |
| |
| |
| |
| | |
That generator expressions enable conditional things
has not been said before.
Amended for nicer source format.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
Expand "..." and "?", which could be mistaken as metacharacters
(and in the explanations of AND and OR actually were meant as
metacharacters).
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
fe40570608 FindSQLite3: Add module to find SQLite3
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2557
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
2a98a0af46 Help: Link to cmake.org "Get Involved" page from cmake-developer(7)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2537
|
| |/ |
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
|\ \
| |/
|/|
| |
| |
| |
| | |
c12eefa8fd Help: Fix generators link in cpack(1) manual
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2562
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes binaries independent of the build directory by not embedding
the build directory via RPATH. The tests are partially based on the
existing RuntimePath test, but with the check moved into a POST_BUILD
command such that it can be skipped when the platform lacks support.
Fixes: #18413
|
| | | |
|
| | | |
|
|/ /
| |
| |
| |
| | |
In section "Deprecated Commands" in manual/cmake-commands.7,
indicate that those commands are deprecated since 3.0.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
84e7920b3a FindFontconfig: Add module to find Fontconfig
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2487
|
| | |
| | |
| | |
| | | |
This module is inspired by one from KDE's KWin.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
93f3f65516 Help: Revise docs of modules AddFileDependencies..CheckFunctionExists
fc7ee1ca45 Help: Override pygments CMakeLexer to support <..> and [..]
74b3eacdc7 Help: Use appropriate list types in FindPkgConfig
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2468
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* The code snippets in the docs consist of CMake code mixed
with syntax definition punctuation like < > [ ] ... Therefore
a pure CMake lexer is inadequate. Here it is replaced by a
CMake syntax definition parser.
* Fixed syntax definition snippets in FindPkgConfig.cmake to
make best use of syntax highlighting. This source file is the
hardest to support because it contains comparison operators
<= = >=, which need special attention to avoid confusion
with the placeholder indicators <...>.
* Fixed syntax in execute_process.rst (there were unbalanced
brackets).
* Disabled syntax highlighting for long string examples in
cmake-language.7.rst.
* No highlighting of removed syntax in CMP0049
* To inspect the outcome of this patch, see e.g. the pages
* manual/cmake-buildsystem.7.html
* module/ExternalProject.html
* module/FindPkgConfig.html
which are particularly rich in complex code snippets.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
284a38e42f cmake-server: Revert "Support codemodel filegroups for INTERFACE_SOURCES"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2495
|