- 14 Apr, 2014 4 commits
-
-
Rolf Eike Beer authored
The simple replacement is much faster.
-
Rolf Eike Beer authored
The matches have already been calculated and can simply be taken from CMAKE_MATCH_n variables. This avoids multiple compilations of the same or very similar regular expressions.
-
Brad King authored
5a58efaa libarchive: Avoid using name 'u_long' e2b02823 Update libarchive configuration within CMake 80883321 libarchive: Do not require includers to have windows.h dfb0458e libarchive: Convert literal LL suffix to ARCHIVE_LITERAL_LL b0a9807f libarchive: Update archive_util.c to use CMake zlib and bzip2 headers debe4dec libarchive: Drop options not present in reduced version 66b0c4fa libarchive: Do not generate a pkg-config file 8092e759 libarchive: Update README-CMake.txt for new snapshot 2f197863 Merge branch 'libarchive-upstream' into update-libarchive 23e4666c libarchive: Disable more whitespace checks in third-party code 64713ae3 libarchive 3.1.2-218-g00f4bd83 (reduced)
-
Kitware Robot authored
-
- 13 Apr, 2014 1 commit
-
-
Kitware Robot authored
-
- 12 Apr, 2014 1 commit
-
-
Kitware Robot authored
-
- 11 Apr, 2014 12 commits
-
-
Brad King authored
-
Brad King authored
-
Brad King authored
A 64-bit MinGW windres is named "i686-w64-mingw32.shared-windres". The get_filename_component NAME_WE mode may strip the ".shared-windres" part and cause the result to no longer contain "windres". Instead, match the "windres" name in the full CMAKE_RC_COMPILER value first, and use the get_filename_component code path only for other resource compilers.
-
Brad King authored
This module is for the Windows Resource Compiler, not Fortran.
-
Brad King authored
The system headers on some platforms define a 'u_long' type so we cannot use the name. Spell out 'unsigned long' instead.
-
Kitware Robot authored
-
- 10 Apr, 2014 16 commits
-
-
Brad King authored
-
Brad King authored
The PGI compiler does not define __SIZEOF_POINTER__ so use the __x86_64__ or __i386__ CPU macros to select a pointer size instead.
-
Brad King authored
-
Brad King authored
-
Brad King authored
Use the CMAKE_MATCH_* variables to simplify matching logic. Match either 3 or 4 version components. Do not fail when there are only three components available.
-
Brad King authored
Also state explicitly that the module is deprecated.
-
Stephen Kelly authored
This reverts commit 77f06b14. It may be re-added in the future when the requirements for that platform are better known and supported by CMake.
-
Stephen Kelly authored
Use the namespace org.cmake instead of org.sphinx.cmake. Add the version to the output file name.
-
Brad King authored
-
Kitware Robot authored
-
- 09 Apr, 2014 4 commits
-
-
Stephen Kelly authored
Allow directories in the source tree or build tree only if the install tree is a subdirectory of the source tree or build tree, as appropriate. Re-use the test files in the RunCMake.include_directories test to run in multiple scenarios. Bump the required CMake version in the test to 3.0 to ensure that the new policy warnings are emitted correctly.
-
Stephen Kelly authored
The AddSource method accepts one file and tries to avoiding adding it to the sources-list of the target if it already exists. This involves creating many cmSourceFileLocation objects for matching on existing files, which is an expensive operation. Avoid the searching algorithm by appending the new sources as one group. Generate-time processing of source files will ensure uniqueness. Add a new AddTracedSources for this purpose. The existing AddSources method must process the input for policy CMP0049, but as these source filenames come from cmSourceFile::GetFullPath(), we can forego that extra processing.
-
Stephen Kelly authored
Computing the language involves computing the source files, which is an expensive operation. It requires calling cmMakefile::GetOrCreateSource many times, which involves creating and matching on many cmSourceFileLocation objects. Source files of a target may depend on the head-target and the config as of commit e6971df6 (cmTarget: Make the source files depend on the config., 2014-02-13). The results are cached for each context as of commit c5b26f3b (cmTarget: Cache the cmSourceFiles in GetSourceFiles., 2014-04-05). Each target in the build graph causes language computation of all of its dependents with itself as the head-target. This means that for 'core' libraries on which everything depends, the source files are computed once for every transitive target-level-dependee and the result is not cached because the head-target is different. This was observed in the VTK buildsystem. Short circuit the computation for targets which have a source-list that is independent of the head-target. If the source-list has already been computed and the generator expression evaluation reports that it was context-independent, return the only source-list already cached for the target. Reset the short-circuit logic when sources are added and when the link libraries are re-computed.
-
Kitware Robot authored
-
- 08 Apr, 2014 2 commits
-
-
Jiri Malak authored
Watcom Linker use single quote if necessary for quoting target name, libraries names and libraries search path. Object names were already fixed.
-
Brad King authored
-