| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
188baef0 find_path: Fix location of <dir/header.h> in a framework on OS X
|
| |
| |
| |
| |
| |
| |
| | |
After finding it in `foo.Framework/Headers/dir/header.h`, we should
report the `foo.Framework/Headers` directory, not
`foo.Framework/Headers/dir`, because the former is what actually
contains the path the caller wishes to include.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
ff08a80a Source/CPack: Run clang-format to fix style
3b284432 Tests/FindOpenCL: Run clang-format to fix style
|
| |/ |
|
|/ |
|
|\
| |
| |
| |
| |
| | |
fa277b29 Remove c_str() calls from stream arguments.
ba5fb165 call static cmOutputConverter::GetFortranFormat without object
|
| |
| |
| |
| |
| |
| | |
Mostly automated:
git grep -l '.c_str() <<' | xargs sed -i 's|\.c_str() <<| <<|g'
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
63e5eb5f Help: Add notes for 'productbuild' topic
2e3c67d1 productbuild: Add new productbuild cpack generator.
50a3d340 PackageMaker: factor out common code for creating pkg files.
|
| |
| |
| |
| | |
This cpack generator basically replaces the obsolete PackageMaker generator.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
f6c21894 Modules: Rename internal platform-specific compiler determination modules
0c7951a9 cmLocalGenerator: Consolidate conditions in AddArchitectureFlags
|
| | |
| | |
| | |
| | | |
Make room for possible future non-Apple architecture flags.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
f500a784 Fix crash on $<TARGET_PROPERTY:...,LOCATION> genex (#16134)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Policy CMP0026 deprecated the LOCATION property, and we have long
provided a $<TARGET_FILE:...> generator expression. However, if
a project tries to use $<TARGET_PROPERTY:...,LOCATION> we should
at least not crash.
The compatibility implementation of the LOCATION property uses
cmGlobalGenerator::CreateGenerationObjects to create the structures
needed to evaluate the property before generation starts. The
implementation assumed that accessing the property could only be done
during configuration (via the typical get_property command use case).
The $<TARGET_PROPERTY:...,LOCATION> genex causes the LOCATION property
to be accessed during generation. Calling CreateGenerationObjects
during generation blows away all the objects currently being used for
generation and is not safe. Add a condition to call it only when
configuration is not finished.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
c6220de2 Use the empty() method to check for emptyness.
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Apply fix-its from clang-tidy's readability-container-size-empty
checker.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
7f6b8d33 Simplify boolean expressions
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Use clang-tidy's readability-simplify-boolean-expr checker.
After applying the fix-its, revise all changes *very* carefully.
Be aware of false positives and invalid changes.
|
| |/ /
|/| | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
2175e5bf cmGlobalGenerator: Make IsMultiConfig() const
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
18bfbc97 Add option to control 'bin' directory of CMake's own installation (#16076)
|
| |/ /
| | |
| | |
| | |
| | | |
Add a `CMAKE_BIN_DIR` cache entry to CMake's own build configuration.
Add a `--bindir` option to the `bootstrap` script to set it.
|
|/ / |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| | |
bd4fef64 cmSourceFileLocation: Fix typo in comment
814e774e cmSearchPath: Fix typo in comment
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| | |
27ead963 Remove unnecessary local copies.
618fb23f Pass arguments that are not modified as const&.
|
| |
| |
| |
| |
| |
| |
| | |
Use clang-tidy's performance-unnecessary-copy-initialization checker.
After applying the fix-its (which turns the copies into const&), revise
the changes and see whether the copies can be removed entirely by using
the original instead.
|
| |
| |
| |
| |
| |
| |
| | |
Use clang-tidy's performance-unnecessary-value-param checker to find
value parameter declarations of expensive to copy types that are not
modified inside the function. Ignore findings in kwsys.
After applying the fix-its, manually change `const T&` to `T const&`.
|
|\ \
| | |
| | |
| | |
| | | |
1b2bb933 Remove redundant c_str() calls.
|
| |/
| |
| |
| |
| | |
Run clang-tidy's readability-redundant-string-cstr checker.
Ignore findings in kwsys.
|
|/ |
|
|\
| |
| |
| |
| |
| | |
d256ba07 try_compile: Optionally forward custom platform variables to test project
fb4791b3 cmCoreTryCompile: Refactor forwarding of variables to test project
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list
of custom variables to be forwarded to a `try_compile` test project.
This will be useful for platform information modules or toolchain files
to forward some platform-specific set of variables from the host project
(perhaps set in its cache) to the test project so that it can build the
same way.
|
| |
| |
| |
| |
| |
| |
| | |
De-duplicate the logic that constructs the cmake `-D` flag used to pass
variables into the test project cache. Also subsume variables that were
propagated by generating `set()` commands in the project and pass them
as cache entries instead.
|
|\ \
| | |
| | |
| | |
| | | |
75e3e0d3 cmVariableWatch: Fix potential memory leak
|
| |/
| |
| |
| |
| | |
Teach cmVariableWatch::AddWatch to own the Pair it allocates until
it needs to pass ownership to WatchMap.
|