- 30 Mar, 2015 10 commits
-
-
Felix Schwitzer authored
Add the dependency on the main swig input source file as a normal DEPENDS option. We cannot use MAIN_DEPENDENCY because if there are multiple target languages then multiple custom commands would want to use the same MAIN_DEPENDENCY, but at most one custom command may specify a given source file as its MAIN_DEPENDENCY. Exposed by a CMP0057 warning.
-
Clinton Stimpson authored
Fix the case when the archive generator is used to package components with an install prefix.
-
Kitware Robot authored
-
- 29 Mar, 2015 1 commit
-
-
Kitware Robot authored
-
- 28 Mar, 2015 1 commit
-
-
Kitware Robot authored
-
- 27 Mar, 2015 15 commits
-
-
Brad King authored
Revert commit v3.0.0-rc1~175^2~20 (add_dependencies: Disallow use with INTERFACE_LIBRARY, 2013-12-25). Teach our dependency analysis to transitively follow INTERFACE target utility dependencies as was done or IMPORTED targets in commit v2.8.6~127^2~1 (Allow add_dependencies() on imported targets, 2010-11-19). Extend the InterfaceLibrary test with a case to cover header generation for a header-only INTERFACE library via a custom target.
-
Brad King authored
Add reStructuredText markup.
-
Brad King authored
The rcc outputs are byproducts of the cmake_autogen rule, not outputs. We still must run cmake_autogen on every run even if the rcc outputs exist. Ninja requires explicit byproduct specification, which is now possible in CMake since commit v3.2.0-rc1~340^2~2 (Add an option for explicit BYPRODUCTS of custom commands, 2014-11-13). Revise the logic introduced by commit v3.2.0-rc1~480^2 (QtAutogen: Regenerate qrc files if their input changes, 2014-09-17) to specify byproducts explicitly.
-
Brad King authored
Extend the ``DATA{Dir/,...}`` syntax with a new ``RECURSE:`` option to enable recursive matching of associated files. This will allow an entire directory tree of data to be referenced at once.
-
Brad King authored
Extend the _ExternalData_arg_find_files signature with an option to specify the kind of file(GLOB) operation to be performed. Set CMP0009 to NEW so that GLOB_RECURSE does not follow symlinks.
-
Brad King authored
Teach the Xcode generator that ONLY_ACTIVE_ARCH=YES means to use ARCHS, and that the default of ONLY_ACTIVE_ARCH=NO means to use NATIVE_ARCH and ignore ARCHS. In the latter case there is no reason to generate ARCHS.
-
Brad King authored
-
Nils Gladitz authored
-
Kitware Robot authored
-
- 26 Mar, 2015 7 commits
-
-
Ben Boeckel authored
The `binary_dir` variable is never set, so this is invalid. Instead, use "." which all the other build commands use anyways. Also only set the --config option if it is meaningful.
-
Brad King authored
Our Windows API header checks are conditioned on if(NOT UNIX) but libarchive checks HAVE_WINDOWS_H anyway so the result leaks into the cache and influenes the curl build. Set the check results to false explicitly for curl when not on Windows to tolerate this. Reported-by:
Vyacheslav Karpukhin <Vyacheslav.Karpukhin@jetbrains.com>
-
Nils Gladitz authored
"XML_Parser" in cmexpat is a typedef for void* while newer releases of expat seem to use struct XML_ParserStruct *XML_Parser. Add static_casts so that the build works with either variant.
-
Bill Hoffman authored
-
Brad King authored
The compiler documents that USE statements search for ".mod" files in directories specified with -I, but not -isystem. Reported-by:
Hugh Sorby <h.sorby@auckland.ac.nz>
-
Brad King authored
Replace an old hack of the form 'if("${VAR}" MATCHES "^${VAR}$")' with the much simpler 'if(NOT DEFINED ${VAR})'. This was exposed by a CMP0054 warning.
-
Kitware Robot authored
-
- 25 Mar, 2015 4 commits
-
-
Bill Hoffman authored
-
Betsy McPhail authored
The file lock functionality added in commit v3.2.0-rc1~297^2~1 (file: Add LOCK subcommand to do file and directory locking, 2014-11-26) forgot to close the lock file descriptors. Eventually it was possible to run out of file descriptors and locks could not longer be acquired. Fix this by closing the file descriptor or handle when we are done with it. Also set the member back to the initial value from the constructor to leave everything in a consistent state (useful for debugging). Co-Author: Ruslan Baratov <ruslan_baratov@yahoo.com>
-
Kitware Robot authored
-
- 24 Mar, 2015 2 commits
-
-
Clinton Stimpson authored
-