| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
INTERFACE libraries were created with the intention of collecting usage
requirements for use by other targets via `target_link_libraries`.
Therefore they were not allowed to have SOURCES and were not included in
the generated buildsystem. In practice, this has become limiting:
* Header-only libraries do have sources, they just do not compile.
Developers should be able to edit those sources (the header files)
in their IDE.
* Header-only libraries may need to generate some of their header
files via custom commands.
Some projects work around these limitations by pairing each interface
library with an `add_custom_target` that makes the header files and
custom commands appear in the generated buildsystem and in IDEs.
Lift such limitations by allowing INTERFACE libraries to have SOURCES.
For those with sources, add a corresponding build target to the
generated buildsystem.
Fixes: #19145
|
|\
| |
| |
| |
| |
| |
| | |
fed7d8f76d file(DOWNLOAD): Make file argument optional
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5060
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
2fad00940d cmake: Add -E create_hardlink
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5015
|
| |
| |
| |
| |
| | |
Fixes: #20950
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
|
|/
|
|
|
|
|
| |
Apple tech note QA1806 recommends always building against the latest
SDK.
Fixes: #20949
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cee92a9fb0 Help: add release notes for CTest cuda-memcheck support
f38e4a1871 Tests: Add cases for CTest cuda-memcheck parser
fe062800f0 CTest: add cuda-memcheck support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: tcojean <terry.cojean@kit.edu>
Merge-request: !4952
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
df6b077625 cmake: Remove broken '--warn-unused-vars' option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !4953
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This option has been broken since commit b9f9915516 (cmMakefile: Remove
VarUsageStack., 2015-05-17, v3.3.0-rc1~52^2). That commit removed the
check that an initialized variable has actually been used and caused the
option to warn on every variable ever set. This was not caught by the
test suite because the test for the feature only checked that warnings
appear when needed and not that they do not appear when not needed.
The option was never very practical to use. Remove it to avoid the
runtime cost of usage tracking and checks for every variable (which we
were doing even when the option was not used).
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
27b03281e2 configure_file: Add option to control file permissions transfer to copy
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4941
|
| |/
| |
| |
| | |
Issue: #20866
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
a468cc431c FindTIFF: add component CXX to include the C++ wrapper libtiffxx
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4934
|
| | |
| | |
| | |
| | | |
Fixes: #20860
|
| | |
| | |
| | |
| | | |
This fixes the documentation which should have been fixed in 7d6861f3.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
467509d767 FindVulkan: Support for finding glslc
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4944
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The GLSL SPIR-V compiler is part of the Vulkan SDK and may be used
by projects for compiling shaders as part of the build process.
This is not strictly required to build a Vulkan application, which
is why the variable is not part of the REQUIRED_VARs for the module.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
d4812a955b cmake-install: implement default directory permissions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4927
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
provide an argument for default directory permissions in cmake --install
Fixes: #20700
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
6051a49c78 Visual Studio: Add Android support
bbcaf9689e Refactor: Add IsAndroidGuiExecutable() method to cmTarget
14456923bd cmGlobalVisualStudio10Generator: Move variable initialization to header
d5b5c19278 cmGlobalGenerator: FindMakeProgram() before CMakeDetermineSystem
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4898
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
5845c218d7 Deprecate compatibility with CMake versions older than 2.8.12
7b07ccdd2b Tests/*Only: Update cmake_minimum_required versions
9b99b4bfc8 Tests/RunCMake: Update cmake_minimum_required versions
fcea4a3b45 cmStateSnapshot: Invert CanPopPolicyScope return value to match name
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !4897
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Issue a deprecation warning on calls to `cmake_minimum_required` or
`cmake_policy` that set policies based on versions older than 2.8.12.
Note that the effective policy version includes `...<max>` treatment.
This is important in combination with commit ca24b70d31 (Export: Specify
a policy range in exported files, 2020-05-16, v3.18.0-rc1~133^2).
|
|/
|
|
|
|
| |
Also provide `SDL_VERSION[_{MAJOR,MINOR,PATCH}]`.
Fixes: #12911
|
|\
| |
| |
| |
| |
| |
| | |
915409af49 CPack: Introduce pre- and post- build actions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4846
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CPack learned the `CPACK_PRE_BUILD_SCRIPTS`, `CPACK_POST_BUILD_SCRIPTS`,
and `CPACK_PACKAGE_FILES` variables.
The first two are lists of scripts to perform
- after pre-install files into a staging directory and before
producing the resulting packages
- after produsing the packages
The post-build script(s) also get the list of actually produced
packages in the `CPACK_PACKAGE_FILES`.
Issue: #19077
|
|/
|
|
|
|
|
|
|
| |
This fix was first made by commit 86e6349ef7 (find_program: Find
programs that are executable but not readable, 2020-04-04,
v3.18.0-rc1~372^2) but was reverted for compatibility. Re-introduce it
with a policy for compatibility.
Fixes: #10468
|
|
|
|
|
|
|
| |
The OLD behaviors of all policies are deprecated, but only by
documentation. Add an explicit deprecation diagnostic for policies
introduced in CMake 3.11 and below to encourage projects to port away
from setting policies to OLD.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4037beb747 QtDialog: remove Qt4 definition
ce9dbceb42 QtDialog: remove Qt4-only code
8ea50749da QtDialog: use Qt5's imported targets
4ccc9921be QtDialog: use qt5 functions for special Qt sources
e4d6015460 QtDialog: remove Qt4 support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4836
|
| | |
|
|/
|
|
|
|
|
| |
The `CPACK_EXTERNAL_PACKAGE_SCRIPT` script may set this list variable to the
full paths of generated package files. CPack copy these files from the stage
directory back to the top build directory and possibly produce checksum files
if the `CPACK_PACKAGE_CHECKSUM` is set.
|
| |
|
|
|
|
|
| |
Release versions do not have the development topic section of
the CMake Release Notes index page.
|
|
|
|
|
| |
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.18.rst`.
|
|
|
|
| |
Fixes: #20641
|
|\
| |
| |
| |
| |
| |
| | |
9436ad35df target_link_libraries: self-link through ALIAS is an error
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4826
|
| |
| |
| |
| | |
Fixes: #19617
|
|/
|
|
| |
This release note was mistakenly omitted from commit 0aea435aa1
(ExternalProject: Provide choice of git update strategies, 2020-02-12).
|
|
|
|
| |
Fixes: #19616
|
|
|
|
| |
Fixes: #15934
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
3888de23da Ninja: Skip Fortran preprocessing if Fortran_PREPROCESS is OFF
66c4e87282 Ninja: Add helper functions to generate Fortran build
5cca1ec893 Ninja: Add helper functions to generate Fortran preprocess rule
b0a6161190 Fortran: Add Fortran_PREPROCESS property
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4659
|
| |
| |
| |
| | |
Issue: #18870
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
94c1e4fdb3 cmake_language: Rename command from cmake_command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4774
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also rename the `INVOKE` signature to `CALL`.
Fixes: #20732
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
f6cb1e646c Multi-Ninja: Fix PCHs for Visual C++
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4771
|
| | |
| | |
| | |
| | | |
Fixes: #20711
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
a1612af749 CTest: Log environment variables as a test measurement
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4760
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
592085b94b FetchContent: Add support for SOURCE_SUBDIR
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4757
|