| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
afb7f6e4ff cmake: Add '-E create_symlink' support on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2144
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The allows `-E create_symlink` to work on Windows. It utilizes
`uv_fs_symlink`. I am still unsure exactly which Windows platforms will
work without requiring Administrator privileges or needing a user/group
with the "Create Symbolic Links" User Rights. It does work with my
Windows 10 Pro with Developer Mode turned on. In the test suite check
that the symlink either worked or failed with a permissions error.
Use recent changes in cmSystemTools::FileExists to check that a symlink
is broken.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
638f00117a Add release note for the -S and -B options.
de962cc00d CMake: Internally uses -S instead of -H to specify source directory
a10d63d578 cmake: -S and -B can be used to specify source and build directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2358
|
| | | |
|
| |/
| |
| |
| |
| |
| | |
Document the previously internal option of '-B' and provide a
matching source directory option with '-S'. Both '-B', and '-S'
can be used independently of each other.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
bef80e6623 VS: Do not specify incremental linking if LTCG is enabled
567fabe88e IPO: INTERPROCEDURAL_OPTIMIZATION (LTCG) for Visual Studio
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2363
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Add IPO support for Visual Studio (which is referred to by VS as
"Link Time Code Generation" and "Whole Program Optimization"), for
VS version >= 10. This allows CMake/VS users to enable IPO by setting
property `INTERPROCEDURAL_OPTIMIZATION`.
Fixes: #16748
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
2a2f0ac231 Help: Clarify handling of non-integer components in if() version tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2393
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
329f6aeca5 FindPython*: Windows: add facility to select lookup order for registry.
ffb560adc9 FindPython*: MacOS: Fix erroneous handling of Frameworks.
b0b53921ce FindPython: clean-up lookup names strategy
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2369
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #18302
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
17e581af4c Help: Document CMAKE_RULE_MESSAGES variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2383
|
| |/ / /
| | | |
| | | |
| | | | |
Fixes: #18368
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
e3f9ea8616 docs: add some 'see also' helper texts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2381
|
| |/ /
| | |
| | |
| | | |
in cmake-generator-expressions
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
a1ad0a699b target_link_libraries: Allow use with targets in other directories
9bbae5ae28 cmTarget: Future-proof AddLinkLibrary target lookup scope
f9cb6f618a cmExportFileGenerator: Use cmGeneratorTarget::ResolveTargetReference
18441a6269 cmGeneratorTarget: Factor target name resolution out of link item resolution
2f708f5d65 Make internal TARGET_PROPERTY generator expressions more robust
94a75801c8 Android.mk: De-duplicate link libraries logic during export
8a63b23d16 cmGlobalGenerator: Remove unused FindLocalGenerator method
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Patrick Stotko <stotko@cs.uni-bonn.de>
Merge-request: !2370
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously the command did not allow naming targets on the LHS that
were not created in the calling directory. Lift this restriction to
enable more flexible use by projects.
Targets named on the RHS will need to be looked up during generation in
the scope of the call site rather than the scope of the LHS target.
Introduce an internal syntax in `[INTERFACE_]LINK_LIBRARIES` properties
to specify target names that need to be looked up in a directory other
than that containing the target on which the property is set. Add
minimal documentation of the syntax to help users that encounter it.
Unfortunately CMake previously did allow such calls in the case that
only `INTERFACE` libraries are specified, but those libraries would be
looked up in the target's directory rather than the caller's. Add
policy `CMP0079` to enable the new behavior with new lookup scope in a
compatible way.
Fixes: #17943
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
5ff7149298 Help: Document existence of CMAKE_CPACK_COMMAND
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2367
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This useful variable was previously undocumented. This commit adds
brief documentation for it.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
ab2e35d614 Replace occurrences of "Mac OS X" with "macOS" in comments
fc1602456a Help: Replace occurrences of "Mac OS X" with "macOS"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Gregor Jasny <gjasny@googlemail.com>
Reviewed-by: Clinton Stimpson <clinton@elemtech.com>
Merge-request: !2351
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Apple's main Operating system changed their name from OS X to macOS:
https://www.engadget.com/2016/06/13/os-x-is-now-macos/
Revise documentation accordingly.
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
6d8cabe8d4 Help: Clarify INCLUDE_DIRECTORIES directory property behavior
7b9d8ce168 Help: Clarify wording of set_directory_properties docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2337
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Ordering w.r.t. target creation is important for this property.
Fixes: #17754
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
3914108c4a Help: Formatting typo fix in cmake-generator-expressions(7)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2360
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
228a2b0d82 Help: Clarify cmake_host_system_information memory units
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2339
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
The memory size query implementations report in units of one mebibyte
(2^20). Clarify the unit in the documentation because "megabyte" might
also be interpreted as 10^6.
|
| |/
|/|
| |
| |
| |
| |
| | |
Subversion fails when the directory is not actually under its control.
Allow projects to tolerate this case optionally.
Fixes: #18264
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
d74c2282ea cmake-server: Support codemodel filegroups for INTERFACE_SOURCES
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Tobias Hunger <tobias.hunger@gmail.com>
Acked-by: Markus Enzenberger <markus.enzenberger@gmail.com>
Merge-request: !2282
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change returns information for INTERFACE_SOURCES. We add
a flag to the filegroup to indicate if the target represents
interface sources.
Protocol version is updated to 1.3 since this is a change to what was
released in cmake version 3.12.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
e78a0c8e8a VS: Add option to tell generator that platfrom is WinRT by default
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2315
|
| | |
| | |
| | |
| | |
| | |
| | | |
Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this.
Fixes: #18286
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
5fc11b34e4 Help: Add CAPTURE_CMAKE_ERROR to ctest_submit and ctest_update documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2324
|
| |/ /
| | |
| | |
| | |
| | | |
Also, added CAPTURE_CMAKE_ERROR to vim synax file for ctest_submit,
ctest_update and ctest_memcheck.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4a0f664aaf CPackExt: Add CPACK_EXT_ENABLE_STAGING and CPACK_EXT_PACKAGE_SCRIPT
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2272
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CPACK_EXT_ENABLE_STAGING enables optional staging
and CPACK_EXT_PACKAGE_SCRIPT allows to specify an optional
script file that can package staged files via an
external packaging tool.
Issue: #18236
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
ca97d4cb5f Android: Add support for NDK r18
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2319
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NDK r18 drops GCC toolchains and some STL types. We need to choose a
clang toolchain by default when no gcc toolchains are available. Switch
the STL type default to `c++_static` when the old `gnustl_static`
default is not available.
Update the test suite to not run tests for STL types that do not exist.
Also do not expect the gcc toolchain `cpp` tool to be available because
r18 does not provide it. Also teach it to tolerate `gcc -dumpmachine`
output like `arm--linux-android` that differs from the toolchain prefix.
Fixes: #18301
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
974de0e199 static library: add property STATIC_LIBRARY_OPTIONS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2290
|
| | | |
| | | |
| | | |
| | | | |
issue: #18251
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
e558ada977 Help: Document alternative to include_directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2304
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Many existing tutorials suggest `include_directories` but that does
not handle propagation to dependencies and such. Add a link to its
documentation suggesting `target_include_directories` instead.
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
85432f4898 Help: Fix typo in clang-tidy example -checks option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2303
|
| | |/ /
| |/| | |
|
| | | | |
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
30d08bdce9 doc: Consistently use <PackageName> for describing the name of a package
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2283
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | | |
6b17d85873 Help: Document when LINK_FLAGS and STATIC_LIBRARY_FLAGS are used
9561d42f95 target_link_options: Add test to verify static library behavior
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !2274
|