Commit Graph

33913 Commits

Author SHA1 Message Date
Kitware Robot 2f7e05fbc2 CMake Nightly Date Stamp 2016-11-29 00:01:04 -05:00
Brad King 4093bd4025 Merge topic 'include-what-you-use'
d0c14dfb avoid including cmStandardIncludes.h
66a70999 iwyu: Fix VisualStudio specific issues
7b4244ac iwyu: Fix more findings
aeff60e4 iwyu: Fix OSX specific issues
2016-11-28 14:24:07 -05:00
Brad King 56c5c8e17a Merge topic 'cpack-tests-framework-updates'
50c3ebb9 Tests: CPack test documentation facelift
a8a47098 Tests: CPack/DEB test change prerequirements check
48456535 Tests: source CPack tests don't require build stage
d040d164 Tests: CPack test set packaging type
2cc479bd Tests: remove generator prefix from CPack test name
181e9bb6 Tests: CPack test long_filenames prerequirements
b687d2ba Tests: CPack test use same content list
ed8858ed Tests: CPack test unify expected file naming
8575affa Tests: CPack test move and merge VerifyResult
79443e1b Tests: CPack test move per test prerequirements
6d51bea4 Tests: CPack test merge generator specifics
0f15aee7 Tests: CPack test move ExpectedFiles script
a0ad6fc4 Tests: CPack test should always check test output
46b6a25a Tests: CPack test move std error files to test files
53a69c7d Tests: CPack move tests to separate dir
70b52a71 Tests: CPack test should use default package name
...
2016-11-28 14:23:29 -05:00
Brad King 8a975efc94 Merge topic '16449-revert-xcode-system-includes'
543dcb0a Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"
2016-11-28 14:23:21 -05:00
Daniel Pfeifer d0c14dfb36 avoid including cmStandardIncludes.h 2016-11-28 14:06:41 -05:00
Daniel Pfeifer 66a7099993 iwyu: Fix VisualStudio specific issues 2016-11-28 14:06:40 -05:00
Daniel Pfeifer 7b4244aceb iwyu: Fix more findings 2016-11-28 14:06:40 -05:00
Gregor Jasny 543dcb0ada Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"
Revert commit v3.7.0-rc1~266^2 (Xcode: Obey SYSTEM keyword for includes,
2015-08-31).  It worked for C, C++, and Swift but not for GNU Assembly
files for which Xcode has no property to set flags.

Closes: #16449
2016-11-28 13:42:46 -05:00
Kitware Robot 1b22cb0a07 CMake Nightly Date Stamp 2016-11-28 00:01:05 -05:00
Domen Vrankar 50c3ebb903 Tests: CPack test documentation facelift 2016-11-27 23:20:35 +01:00
Domen Vrankar a8a4709808 Tests: CPack/DEB test change prerequirements check
Prerequirements should be searched for in
generator prerequirements function and only
checked for presence in configure file in
per test prerequirements function.
2016-11-27 23:20:35 +01:00
Domen Vrankar 48456535f3 Tests: source CPack tests don't require build stage 2016-11-27 23:20:35 +01:00
Domen Vrankar d040d1647d Tests: CPack test set packaging type
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.
2016-11-27 23:20:35 +01:00
Domen Vrankar 2cc479bdac Tests: remove generator prefix from CPack test name 2016-11-27 23:20:35 +01:00
Domen Vrankar 181e9bb612 Tests: CPack test long_filenames prerequirements
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.
2016-11-27 23:20:35 +01:00
Domen Vrankar b687d2ba09 Tests: CPack test use same content list
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.
2016-11-27 23:20:35 +01:00
Domen Vrankar ed8858edb7 Tests: CPack test unify expected file naming
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.
2016-11-27 23:20:35 +01:00
Domen Vrankar 8575affa4c Tests: CPack test move and merge VerifyResult
Merge VerifyResult of different generators
pertest and move the file to its test dir.
2016-11-27 23:20:35 +01:00
Domen Vrankar 79443e1b8b Tests: CPack test move per test prerequirements
Move per test prerequirements into the
belonging test.
2016-11-27 23:20:35 +01:00
Domen Vrankar 6d51bea4e6 Tests: CPack test merge generator specifics
Merge test generator specifics into
test itself.
2016-11-27 23:20:35 +01:00
Domen Vrankar 0f15aee799 Tests: CPack test move ExpectedFiles script
Merge per generator ExpectedFiles scripts
into one per test and move it to test dir.
2016-11-27 23:20:35 +01:00
Domen Vrankar a0ad6fc4dc Tests: CPack test should always check test output 2016-11-27 23:20:35 +01:00
Domen Vrankar 46b6a25ada Tests: CPack test move std error files to test files 2016-11-27 23:20:35 +01:00
Domen Vrankar 53a69c7dd4 Tests: CPack move tests to separate dir
For greater transparency tests
are moved to a subfolder with
each test having its own dir.
2016-11-27 23:20:34 +01:00
Domen Vrankar 70b52a7113 Tests: CPack test should use default package name
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.
2016-11-27 23:20:34 +01:00
Domen Vrankar 7763bd7207 Tests: CPack/RPM test introduction of default stderr test output 2016-11-27 23:20:34 +01:00
Domen Vrankar 70a2bfe97c Tests: fix CPack test source packages missing generator type
Source packages testing for RunCMake CPack
tests did not provide generator type to
the project built from source package.
2016-11-27 23:20:34 +01:00
Domen Vrankar a15f51620b Tests: CPack fix for invalid config file path
Invalid config file path was passed to
per test specific prerequirements script.
2016-11-27 23:20:34 +01:00
Kitware Robot 9e57dafd74 CMake Nightly Date Stamp 2016-11-27 00:01:03 -05:00
Kitware Robot 6eb654c06e CMake Nightly Date Stamp 2016-11-26 00:01:04 -05:00
Kitware Robot 04029ab47d CMake Nightly Date Stamp 2016-11-25 00:01:03 -05:00
Kitware Robot 129c21d260 CMake Nightly Date Stamp 2016-11-24 00:01:04 -05:00
Kitware Robot 8288d16126 CMake Nightly Date Stamp 2016-11-23 00:01:04 -05:00
Daniel Pfeifer aeff60e44c iwyu: Fix OSX specific issues 2016-11-23 00:41:44 +01:00
Brad King a6fe714eaa Merge branch 'release' 2016-11-22 10:29:26 -05:00
Brad King 74a0359ee6 Merge topic 'eclipse-subprojects'
f84a3acd Eclipse: Fix indexer for subprojects
2016-11-22 08:41:07 -05:00
Brad King 2420ce88f1 Merge topic 'imported-interface-no-system'
46005251 Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries
2016-11-22 08:41:03 -05:00
Brad King de758cfaa1 Merge topic 'doc-CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT'
df9fea7f Help: Document CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT variable
2016-11-22 08:40:59 -05:00
Kitware Robot 0ffc4e735a CMake Nightly Date Stamp 2016-11-22 00:01:03 -05:00
Adam Weisi f84a3acd71 Eclipse: Fix indexer for subprojects
Using `add_subdirectory(source_dir binary_dir)` with `source_dir` not a
subdirectory needs to add a `[Subprojects]` entry to the source path in
Eclipse.  The Eclipse indexer seems to use those entries as reference to
index source files.

Closes: #15984
2016-11-21 15:05:14 -05:00
Brad King 47dd761379 Merge branch 'doc-CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT' into release 2016-11-21 11:52:32 -05:00
Brad King df9fea7f49 Help: Document CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT variable
This variable documentation was simply missing.

Suggested-by: Craig Scott <craig.scott@crascit.com>
2016-11-21 11:52:00 -05:00
Brad King 460052516f Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries
Imported INTERFACE libraries can specify include directories via
`INTERFACE_INCLUDE_DIRECTORIES` so the default behavior of treating them
as system include directories applies.  Allow users to turn this off by
setting `NO_SYSTEM_FROM_IMPORTED` on such targets.

Closes: #16443
2016-11-21 11:42:01 -05:00
Brad King acde2c4a53 Merge topic 'doc-imported-interface-libname'
b3193996 Help: Mention IMPORTED_LIBNAME_* in interface library property whitelist
2016-11-21 11:41:29 -05:00
Brad King b3193996bd Help: Mention IMPORTED_LIBNAME_* in interface library property whitelist
This property was added by commit 09cda9d5 (Allow imported INTERFACE
libraries to specify a link library name, 2016-11-03) and is in the
implementation's whitelist.  Add it to the documentation too.
2016-11-21 10:41:40 -05:00
Brad King 95cfb54579 Merge topic 'capture-clang-tidy-errors'
80ebc55a cmake: Report if the <LANG>_CLANG_TIDY tool exits with non-zero
ce1abfa4 cmake: If ldd for LINK_WHAT_YOU_USE fails to run then report why
44de6157 cmake: Comment why we ignore the include-what-you-use return code
2016-11-21 10:02:02 -05:00
Brad King 45d74e9ad3 Merge topic 'update-kwsys'
4775a99f Merge branch 'upstream-KWSys' into update-kwsys
0a56e6fe KWSys 2016-11-18 (2a3f6f6b)
2016-11-21 10:01:58 -05:00
Kitware Robot 1528831bb1 CMake Nightly Date Stamp 2016-11-21 00:01:03 -05:00
Kitware Robot 029b209612 CMake Nightly Date Stamp 2016-11-20 00:01:08 -05:00
Kitware Robot 1748b60a47 CMake Nightly Date Stamp 2016-11-19 00:01:04 -05:00