| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
895f7f16 Genex: Add `IF` generator expression
|
| |
| |
| |
| |
| |
| |
| |
| | |
This allows a single condition to be used to choose between two
alternatives. Without this the condition must be duplicated with
one surrounded by `NOT`.
Closes: #15585
|
|\ \
| | |
| | |
| | |
| | | |
243aed52 cmTimestamp: Support SOURCE_DATE_EPOCH to override current time
|
| | |
| | |
| | |
| | |
| | |
| | | |
See https://reproducible-builds.org/ for why this is good and
https://reproducible-builds.org/specs/source-date-epoch/ for the
definition of this variable.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c3a22518 Tests: Extend GeneratorExpression to work with more configurations
d4911724 Tests: Teach GeneratorExpression to cover spaces in include dirs
1a2a9b0d Tests: Simplify GeneratorExpression imported include directory check
|
| | | |
| | | |
| | | |
| | | | |
Add missing pieces for RelWithDebInfo and MinSizeRel.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a space to the imported include directories used for the test.
This works around funny quoted-`;` interpretation by Visual Studio.
|
| | | |
| | | |
| | | |
| | | | |
Do not duplicate the list of include directories 4 times.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
ef47272b Tests: use cxx_auto_type only if actually available
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
The presence of CMAKE_CXX_COMPILE_FEATURES doesn't mean cxx_auto_type is always
available.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
4bc2c16b FindGTK2: Add unit test to check variables when run twice
9702b3ee FindGTK2: Fix GTK2_LIBRARIES and GTK2_TARGETS when called twice
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
e116f2a5 ctest_memcheck: Fix sanitizers when MemoryCheckSanitizerOptions is empty
522e1588 Tests: Use CTEST_MEMORYCHECK_SANITIZER_OPTIONS where appropriate
|
| | | | |
|
| | |/
| |/|
| | |
| | |
| | | |
Previously the ThreadSanitizer and MemorySanitizer tests erroneously
used `CTEST_MEMORYCHECK_COMMAND_OPTIONS`.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
0618ddf6 Add properties to run the cpplint style checker with the compiler
|
| |/
| |
| |
| |
| |
| | |
Create a `<LANG>_CPPLINT` target property (initialized by a
`CMAKE_<LANG>_CPPLINT` variable) to specify a `cpplint` style checker
command line to be run along with the compiler.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
624709c8 CPack/STGZ: minimalistic packages test
1c93eb68 CPack/STGZ prefer pax for extraction
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
10c9c73d Xcode: Control emission of EFFECTIVE_PLATFORM_NAME
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When building with multiple SDKs within one project Xcode requires
the usage of ${EFFECTIVE_PLATFORM_NAME} to put temporary and build
outout into separate directories. For example an iOS device and
simulator build use two different SDKs (iphoneos and iphonesimulator).
In the past cmake tries to detect embedded toolchains that could
possibly use simulators and emitted EFFECTIVE_PLATFORM_NAME (EPN)
at the proper locations. In #16253 Mark noticed that if he
uses macosx and iphoneos in combination the necessary EPN is not
emitted. This is because CMake by default assumes macosx SDK which
does not trigger EPN emission.
The fist naive approach - enabling EPN unconditionally revealed that
then the EPN leaks into generator expressions like $<TARGET_FILE:xxx>
which might be a regression and thus is unacceptable.
The next approach was to add an CMake property to enable EPN emission
unconditionally. This solved the reported problem.
But the EPN leakage also happened for the embedded toolchains already
without anyone noticing. So the control property was turned into a
tri-state one:
* No definition: EPN is activated for embedded toolchains like before
* ON: EPN is always emitted
* OFF: EPN is never emitted
That approach gives the user the chance to disable EPN for embedded
toolchains and restores generator expression functionality for those.
Closes: #16253
|
|\ \
| | |
| | |
| | |
| | | |
d9f836e9 Add a getter for manually added target dependencies
|
| | |
| | |
| | |
| | | |
Closes: #16165
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
05ed82b1 ctest_submit: Update documentation for CDash upload retries
0ce7643a ctest_submit: improve handling of QUIET option
5614a5cd ctest_submit: Allow RETRY_COUNT for CDASH_UPLOAD
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Teach the CDASH_UPLOAD signature of ctest_submit() to honor the
RETRY_COUNT and RETRY_DELAY options.
Also teach HttpRequest() to honor the default 120 second timeout
for curl connections.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
298b5b31 CTest: Ensure setup/cleanup ordering even when fixture not required
|
| | | |
| | | |
| | | |
| | | | |
Closes: #16558
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
2bba0bfc file: Fix crash on GLOB with no expressions after LIST_DIRECTORIES
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since commit v3.3.0-rc1~318^2~1 (file: Teach GLOB to list directories
optionally, 2015-03-17) using `LIST_DIRECTORIES` followed by no
expression causes a crash. Fix the logic to avoid the crash.
Fixes: #16565
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
7c8ab7dd add_custom_{command,target}: Add COMMAND_EXPAND_LISTS option
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This option allows lists generated by generator expressions to be expanded.
Closes: #15935
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
b42330be source_group: Add options create groups matching directory tree
|
| | |_|/
| |/| |
| | | |
| | | | |
Add `TREE` and `PREFIX` arguments to enable this behavior.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
397b8546 VS: added documentation for C# support
a7dd8e66 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)
6fda6005 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS
|
| | | | | |
|
| | |_|/
| |/| | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
8d1f9e5b CUDA: Now pass correct FLAGS when device link cuda executables.
dc5051f1 CUDA: Test that CUDA flags are used when device linking executables.
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
f9a810f7 CUDA: Enable CudaOnly.SeparateCompilation test runtime calls
5599d858 CUDA: Port test cases to Windows with MSVC host compiler
11551702 CUDA: Populate NVIDIA compiler information on Windows
5365421e CUDA: Detect implicit link information on Windows
522b913f CUDA: Find MSVC binutils on Windows
02582b91 CUDA: Populate compiler PDB placeholder during device linking
d470cb70 CUDA: Use `.obj` object file extension on Windows
a2e80cb0 CUDA: Detect MSVC architecture id
65c1e012 CUDA: Detect use of MSVC host compiler
945dd207 CUDA: Allow platform files to set device linking rules
95420cea CMakeParseImplicitLinkInfo: Add support for MSVC invoked by CUDA nvcc
|
| | | | |
| | | | |
| | | | |
| | | | | |
Uncomment the calls in `main.cpp` (and fix the signatures).
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
4b0c13a8 Tests: Add additional launcher tests
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Modify the launcher test to also try to build two executables, having
respectively build and link errors. This is intended to test that
launchers are used when running compile and link commands, as well as
custom commands. (In particular, this should catch breakage such as that
fixed by ce71bd9505a.)
|
| |/ /
|/| |
| | |
| | |
| | | |
We need to use a C++11 feature that is supported by the widest
range of compilers, so we chose nullptr instead of constexpr.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e537bd91 ctest_memcheck: do not add detect_leaks=1 to ASAN_OPTIONS
0a2e5885 ctest_memcheck: join *SAN_OPTIONS with :
cdacfbd2 MEMORYCHECK_SUPPRESSIONS_FILE: add support for sanitizers
cf590c12 ctest_memcheck: add support for standalone LeakSanitizer
|
| | | | |
|
| |/ / |
|