| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
aed6239e if: Implement new IN_LIST operator
|
| | |
|
|\ \
| |/
| |
| |
| | |
32a2f414 Revert "add_custom_command: Diagnose MAIN_DEPENDENCY limitation."
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 242c3966 (add_custom_command: Diagnose
MAIN_DEPENDENCY limitation, 2015-03-09) and the follow up commit
b372a99a (UseSWIG: Do not use MAIN_DEPENDENCY on custom commands,
2015-03-26).
I misdiagnosed the underlying issue that prompted creation of policy CMP0057.
The actual issue surfaces when a single custom command's MAIN_DEPENDENCY
is listed in more than one target; this issue will have to be addressed
independently.
|
|\ \
| | |
| | |
| | |
| | | |
9535b86d Help: Replace CMP0054 example to show when it makes a difference
|
| | |
| | |
| | |
| | |
| | |
| | | |
The previous example for CMP0054 did not show how critical the policy is
since the result is the same in both cases (NEW and OLD behavior).
Instead show an example when the policy does make a difference.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
4e70fa5c CPack: Fix typo in CPACK_INSTALL_CMAKE_PROJECTS docs (#15543)
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
d401aa21 Help: Revise buildsystem artifact file type documentation (#15539)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add sections to the cmake-buildsystem(7) manual and cross-reference
them with relevant variables and target properties. This avoids
duplicating the information and allows it to be more detailed.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
6ac3712d Help: Document that cmake_minimum_required should be called first
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Many projects put their project() call first, but the actions taken
by this command can be influenced by policies and other information
set by a call to cmake_minimum_required. Document in each of these
two commands that cmake_minimum_required should be called first.
Suggested-by: Alan W. Irwin
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
a3358fac cmDefinitions: Inline SetInternal method.
23370344 cmDefinitions: Remove unused Set return value.
b9f4dd39 cmDefinitions: Remove unused method.
|
| | | | |
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
853ef717 Help: Clarify policy CMP0026 title
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Clarify that the policy only applies to build targets and
not e.g. imported targets.
Suggested-by: Alan W. Irwin
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
46f6a5f4 cmState: Store the Current directories.
3a041c59 Introduce cmState::Snapshot.
ae6c8a9d cmState: Store the Source and Binary directories.
86f3cd0f cmMakefile: Require the localGenerator in the constructor.
a48aebcb cmLocalGenerator: Require a parent in the constructor.
e4c78b37 cmMakefile: Inline SetHome* methods into last remaining caller.
410f39a4 cmMakefile: Delegate storage of Home dirs to the cmake class.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Create snapshots for buildsystem directories during configure time.
This class will be extended in follow up commits to snapshot
all values in the cmState.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Move the contents of cmMakeile::SetLocalGenerator to the Initialize
method.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Pass the parent though cmGlobalGenerator::CreateLocalGenerator.
This will make it easy to initialize state scopes independent of
cmMakefile.
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
There is no need to duplicate these on every cmMakefile.
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | | |
bf24b6c5 Tests: Guard more CTest tests against parallel execution.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
8d9f39f4 include: Ask for permission, rather than forgiveness.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Check that a non-optional file exists before attempting to include
it. This makes more sense than relying on an error case deeper
within cmListFileCache.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
c46490da cmSystemTools: Fix IsPathToFramework implementation (#15535)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use more reliable logic to detect if a path ends in ".framework". The
old logic added by commit v2.4.0~791 (add better support for framework
linking, 2005-12-26) did not account for paths not ending in it at all.
With a 9-character path the logic and "npos == -1" happens to make the
old check pass.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
ff183986 InstallRequiredSystemLibraries: Fix MBCS MFC detection (#15531)
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix the logic added by commit v3.0.0-rc5~9^2
(InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12,
2014-05-06). Do not test content of MSVC${v}_MFC_DIR until after the
variable is set.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
1b03332e Help: Clarify that CMAKE_SIZEOF_VOID_P is specific to the target machine
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
4fc47424 Tests: Fix ExportImport on AIX with GCC
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The iface_test_bld gets the excludedFromAll include directory with
"-isystem" because it is added indirectly through an imported target.
On AIX with GCC the -isystem flag causes sources to be preprocessed as:
# 3 "/.../excludedFromAll.h" 2 3 4
The flags after the file name are documented here:
https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
and the "4" flag says that following content is extern "C". This
causes the excludedFromAll function to be declared as a C symbol
and not mangled for C++, which fails to link later because the
symbol is really provided as C++.
Work around this by setting the NO_SYSTEM_FROM_IMPORTED target property
on iface_test_bld. Somehow iface_test_exp does not end up with -isystem
so we do not need this workaround for that target.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
7244e845 ctest: Consolidate documentation of CTEST_USE_LAUNCHERS (#15533)
f693c136 Modules/CTest: Improve documentation formatting
5cbedd6b Modules/CTest: Use bracket comment for documentation block
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The documentation of this variable in the CTest module is outdated
and has been superseded by the ctest(1) manual. In particular, the
latter mentions that it works with the Ninja generator as well as
makefile generators. Remove the documentation from the CTest module
and replace it with a link to the main variable documentation (which
already references the ctest(1) manual).
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use inline reStructuredText markup and add cross-references.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | /
| |_|_|/
|/| | | |
75bd5ca0 Tests: Fix RunCMake.CTest to tolerate source line number changes
|
| |/ / |
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|