| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
36bc7e4c store old locale to a temporary variable
05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test
5b0a64eb CPack/Archive minimal tests for more formats
|
| | |
| | |
| | |
| | |
| | | |
Add component based packages testing to current
monolithic minimal package tests.
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
6daa2d38 CPack/Deb invalid md5sums file fix
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Monolithic deb packages were packaged
with invalid md5sums file as trailing
slash in path was causing string replace
to fail and preserve build path.
Fixes #16517
|
| |
| |
| |
| |
| | |
Added std out/std err expected regex file name
overloads for packaging type.
|
|/ |
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
f72ba42b try_compile: Add policy CMP0067 to honor language standards
45aa03b9 try_compile: Add options to specify language standards
3bb2051e try_compile: Stop processing when test build system fails to generate
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Projects use `try_compile` to check if they will be able to compile some
particular source code. When a language standard variable like
`CMAKE_CXX_STANDARD` is set, then the project intends to compile source
code using a compiler mode for that standard. Therefore it makes sense
for `try_compile` to use that standard in the test project too.
Unfortunately this was not done when support for the
`CMAKE_CXX_STANDARD` variable was first implemented. Add a policy to
introduce the improved behavior in a compatible way.
Closes: #16456
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Give `try_compile` callers a way to control the `CXX_STANDARD`,
`CXX_STANDARD_REQUIRED`, and `CXX_EXTENSIONS` properties of the
generated test target (or the `C` equivalents) in order to compile a
test source for a particular language standard.
Issue: #16456
|
|/
|
|
|
|
|
|
| |
* In older version "%dir %attr(-, root, root) foo" would put "%dir foo"
in the final spec file.
* Also added comment to describe this and advise not not to add trailing
slashes to directories in USER_FILELIST.
* Includes test in RunCMake CPack which now passes.
|
|\
| |
| |
| |
| | |
2ed473b3 execute_process: Add ENCODING option for Windows child process output
|
| |
| |
| |
| | |
Different applications can use different output encodings.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
e3909918 VS: Add option to customize vcxproj user props file
|
| | |
| | |
| | |
| | |
| | |
| | | |
Add a `VS_USER_PROPS_CXX` target property to set the user props file of
the generated `.vcxproj` file to be something other than the default
`$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props`.
|
| |/
|/|
| |
| | |
with the error messages of endforeach, endmacro, endfunction, etc.
|
|\ \
| | |
| | |
| | |
| | | |
9e3164df VS: Add option to place `PACKAGE` target in solution default build
|
| |/
| |
| |
| |
| | |
Add a `CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD` variable to control
this behavior.
|
|\ \
| | |
| | |
| | |
| | | |
6d604c49 try_compile: Honor CMAKE_WARN_DEPRECATED in test project
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This causes the `-Wno-deprecated` option to be honored even inside a
`try_compile` test project, which is needed to suppress all deprecation
warnings as the option documents.
Closes: #16446
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Prerequirements should be searched for in
generator prerequirements function and only
checked for presence in configure file in
per test prerequirements function.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
CPack tests can now define one or more
packaging types and that test will be
executed once per generator per packaging
type. This also enables us to set default
values per packaging type for each generator
which makes tests shorter.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fakeroot executable is already searched
for in DEB packager tests prerequirements
so the test prerequirement just has to
check that it is present in config file
and not search for it once more.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Content list for a certain test
should be the same between different
generators so whenever possible use
a single expected files list per
file for all generators.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Each generator generates its own file
format with different extensions but
they all create those file names by
a certain pattern and all of them
require the same pieces for that pattern
to work. Now we can only provide pieces
once and and each generator will use those
pieces to generate an expected file name.
|
| | |
| | |
| | |
| | |
| | | |
Merge VerifyResult of different generators
pertest and move the file to its test dir.
|
| | |
| | |
| | |
| | |
| | | |
Move per test prerequirements into the
belonging test.
|
| | |
| | |
| | |
| | |
| | | |
Merge test generator specifics into
test itself.
|
| | |
| | |
| | |
| | |
| | | |
Merge per generator ExpectedFiles scripts
into one per test and move it to test dir.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
For greater transparency tests
are moved to a subfolder with
each test having its own dir.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Package names are irrelevant for most
CPack tests so tests now set default
package name that is created from test
name and used if it is not explicitly
provided in the test.
|
| | | |
|