https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
763a6dc string: Fix regex documentation of '^' and '$' (#14028) They match at the beginning and end of the input, not by line. Reported-by: Martin Perzl <martin.perzl@web.de> 19 March 2013, 17:14:22 UTC
5dfa624 CMake Nightly Date Stamp 19 March 2013, 04:01:07 UTC
dbd895b FindImageMagick: Search versioned suffixes (#14012) The parent commit added suffixes for -Q8 and -Q16 but there may also be versioned suffixes -6.Q8 and -6.Q16. 18 March 2013, 20:37:50 UTC
d7e05e4 FindRuby: improve version selection This will stop e.g. looking for a ruby1.9 executable first if "1.8 EXACT" was given. 18 March 2013, 19:17:08 UTC
7a619fa Fix cmGeneratorExpression::Preprocess for interleaved inputs. We can't find both preprocessing expressions at once, because then the BUILD_INTERFACE will always be favored if both are present, even if INSTALL_INTERFACE appears first. This was affecting the behavior of install(EXPORT) because the INTERFACE_INCLUDE_DIRECTORIES contained entries like /foo/include;$<INSTALL_INTERFACE:/bar/include> As the INSTALL_INTERFACE always evaluates to '0', it always needs to be preprocessed properly. 18 March 2013, 14:09:47 UTC
526cbaf Merge topic 'findqt4-withqt5' 252bfd3 FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes. 18 March 2013, 13:42:06 UTC
68e86af Merge topic 'fix-FPHSA-match' 78e6217 FPHSA: Fix FOUND_VAR check to work with if() auto-dereference 18 March 2013, 13:41:59 UTC
85f7caa Merge topic 'CMAKE_AUTOMOC-Qt5-docs' 1b386b3 Document that CMAKE_AUTOMOC works with Qt 5. 18 March 2013, 13:41:55 UTC
758651f Merge topic 'set-QT_MAJOR_VERSION' 4aa10cd FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore 18 March 2013, 13:41:50 UTC
bb260f0 Merge topic 'set-Qt4_FOUND' 28d14f9 FindQt4: Set the Qt4_FOUND variable if Qt4 is found 18 March 2013, 13:41:41 UTC
a402bc4 Merge topic 'TI_DSP_to_TI' 27e6f6e TI compiler: add automatic detection of prefix and suffixes b301586 rename TI_DSP toolchain to TI, since it works also for the ARM compiler 12b25df Determine C/CXX/Fortran compiler: fix indentation 7baa55a Determine C/CXX/Fortran compiler: minor restructuring 18 March 2013, 13:41:37 UTC
253d7b6 Merge topic 'FindCUDA.cmake/SeparableCompilation' b6e9b8f FindCUDA: Use the PRE_LINK mode only for MSVC >= 10 18 March 2013, 13:41:28 UTC
78e6217 FPHSA: Fix FOUND_VAR check to work with if() auto-dereference Otherwise, it seems to match on the content of the variable. 18 March 2013, 13:35:07 UTC
4aa10cd FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore With a similar commit in Qt 5, this will error at CMake time if an attempt is made to use target_link_libraries(foo Qt4::QtCore Qt5::Core) 18 March 2013, 13:31:33 UTC
28d14f9 FindQt4: Set the Qt4_FOUND variable if Qt4 is found Provide the old QT4_FOUND for compatibility. 18 March 2013, 13:30:47 UTC
252bfd3 FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes. 18 March 2013, 13:06:53 UTC
ef63fa5 CMake Nightly Date Stamp 18 March 2013, 04:01:04 UTC
d7a2a9c CMake Nightly Date Stamp 17 March 2013, 04:01:13 UTC
1b386b3 Document that CMAKE_AUTOMOC works with Qt 5. 16 March 2013, 18:31:04 UTC
253a913 CMake Nightly Date Stamp 16 March 2013, 04:01:09 UTC
03b0cee CMake Nightly Date Stamp 15 March 2013, 04:01:08 UTC
27e6f6e TI compiler: add automatic detection of prefix and suffixes The TI cross compilers are named e.g. cl6x or armcl, the accompanying strip and ar have the same prefixes/suffixes. Alex 14 March 2013, 20:48:09 UTC
b301586 rename TI_DSP toolchain to TI, since it works also for the ARM compiler Additionally, look for a special ar and strip Alex 14 March 2013, 20:47:59 UTC
12b25df Determine C/CXX/Fortran compiler: fix indentation Alex 14 March 2013, 20:47:49 UTC
7baa55a Determine C/CXX/Fortran compiler: minor restructuring No functional changes, only change the way the if()-condition works, to make it easier to add more cases. Alex 14 March 2013, 20:47:38 UTC
55812ab Merge topic 'configure-no-tests' dd8a06b Configure Tests/CMakeTests only with BUILD_TESTING ON 14 March 2013, 14:00:49 UTC
192ef71 Merge topic 'aix-pic' 5c8c1d6 XL: Use -qpic for position independent code (#14010) 14 March 2013, 14:00:35 UTC
b6e9b8f FindCUDA: Use the PRE_LINK mode only for MSVC >= 10 Use normal custom command dependencies by default. Use the PRE_LINK approach only to work around what seems to be a bug in msbuild handling of custom build rules that chain together. 14 March 2013, 13:57:15 UTC
ae84d24 CMake Nightly Date Stamp 14 March 2013, 04:01:10 UTC
adeafad UseJava.cmake: accept jar targets in add_jar Modify add_jar to also accepts jars by target name. 13 March 2013, 21:34:50 UTC
53a05b8 UseJava.cmake: fix passing jars to add_jar Fix setting classpath when encountering a jar argument to add_jar to actually set the variable that is used to specify the classpath to javac, instead of just uselessly appending the jar to CMAKE_JAVA_INCLUDE_PATH (which is never used again at the point where it is modified). Also, list jars so specified as dependencies of compiling the java sources for the jar target. 13 March 2013, 21:30:16 UTC
45c8e4b UseJava.cmake: simplify path logic Move logic to determine relative path to .java file to after the file extension check, so that it only executes when it is actually used. 13 March 2013, 21:29:14 UTC
dd8a06b Configure Tests/CMakeTests only with BUILD_TESTING ON Since commit e03f83f3 (ProcessorCount test: fix path to cmsysTestsCxx executable, 2013-01-24) the directory references a target that is not built when BUILD_TESTING is OFF. It makes no sense to add tests without BUILD_TESTING anyway. While at it, use add_subdirectory instead of subdirs to add CMakeTests. 13 March 2013, 18:09:43 UTC
5c8c1d6 XL: Use -qpic for position independent code (#14010) According to XL C/C++ V9.0 documentation the default for -qpic/-qnopic is platform-dependent. It won't hurt to add the option on platforms where it is the default, so always add it when we want position independent code. 13 March 2013, 17:49:48 UTC
a95968f Merge topic 'ninja-escape-line-breaks' 3b4436a Ninja: escape line breaks in literals 13 March 2013, 17:42:00 UTC
18029b1 Merge topic 'findqt4-withqt5' 161a793 FindQt4: Fix QT_QMAKE{_QMAKE => }_EXECUTABLE typo 13 March 2013, 17:37:26 UTC
0c1621f Merge topic 'qt5-fixes' 404e1d6 cmake-gui: Workaround bug in Qt 5.0.0 to 5.0.3 QStandardItemModel 5144f6f cmake-gui: Use -fPIE if required by Qt. 13 March 2013, 17:34:41 UTC
8128940 Merge topic 'cleanup-early-include-CTest-failure' d90f49b CTest: Fail early without PROJECT_BINARY_DIR (#14005) 2e1c2bd build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005) 4e5cb37 Refactor RunCMake.build_command test to allow more cases 13 March 2013, 17:34:36 UTC
26bfece Merge topic 'fix-automoc-no-qt' a223a3b Automoc: Don't create automoc targets if Qt is not used (#13999) 65b5c1e Merge branch 'property-link-depends-no-crash' into fix-automoc-no-qt 13 March 2013, 17:34:24 UTC
9a02a26 Merge topic 'property-link-depends-no-crash' ab079ee Avoid crash when checking property compatibility without link info 92a2ab7 Avoid crash when checking property link dependencies without link info 13 March 2013, 17:34:20 UTC
7d9d0ef Merge topic 'genex-SEMICOLON' 7f3bb8b Add $<SEMICOLON> generator expression. 13 March 2013, 17:34:16 UTC
edf200a Merge topic 'ExternalData-escape-semicolons' 1823ab4 ExternalData: Preserve escaped semicolons during argument expansion 13 March 2013, 17:34:06 UTC
0707e0d Merge topic 'add_subdirectory-trailing-slashes' 1df4928 add_subdirectory: Compute output dir with consistent slashes (#10072) 13 March 2013, 17:34:02 UTC
2643634 Merge topic 'doc-fixes' 3cf2f67 Documentation: Clarify a few subtleties 13 March 2013, 17:33:53 UTC
161a793 FindQt4: Fix QT_QMAKE{_QMAKE => }_EXECUTABLE typo The parent commit accidentally referenced QT_QMAKE_QMAKE_EXECUTABLE which does not exist. Use QT_QMAKE_EXECUTABLE instead. Reported-by: m.hergarden@euphoria-it.nl 13 March 2013, 11:54:36 UTC
a9c8359 CMake Nightly Date Stamp 13 March 2013, 04:01:11 UTC
404e1d6 cmake-gui: Workaround bug in Qt 5.0.0 to 5.0.3 QStandardItemModel The commit in qtbase 9dfba89c (Add implementations of QAIM::sibling in public APIs., 2012-09-26) added a buggy implementation of sibling(), and the commit f136701b (Use the base implementation of QAbstractItemModel::sibling in QSIM., 2013-02-21) resolves it. Workaround the bug for Qt releases that have it. 12 March 2013, 22:41:26 UTC
5144f6f cmake-gui: Use -fPIE if required by Qt. 12 March 2013, 22:41:15 UTC
d90f49b CTest: Fail early without PROJECT_BINARY_DIR (#14005) Do not use PROJECT_BINARY_DIR before it is defined. If it is not defined when needed, fail with an error message suggesting that the project() command be invoked first. 12 March 2013, 22:20:44 UTC
2e1c2bd build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005) If CMAKE_MAKE_PROGRAM is not set fail with an error message instead of crashing. Suggest calling project() or enable_language() first to ensure that CMAKE_MAKE_PROGRAM is set. 12 March 2013, 22:17:40 UTC
4e5cb37 Refactor RunCMake.build_command test to allow more cases Move the ErrorsOFF/ON common logic from CMakeLists.txt into an ErrorsCommon file to allow other test cases to be added that do not use the Errors test logic. 12 March 2013, 22:09:22 UTC
a223a3b Automoc: Don't create automoc targets if Qt is not used (#13999) Commit 79568f95 (automoc: Add source file to target early to set the linker language, 2013-02-20) changed automoc initialization to a two step process. In the first step, the generated source file was added to the target, which allows the link language to be determined. However, this bypassed the check for the availability of Qt itself. At build-time the automoc file could not be generated because the moc tool was not available to create it. The solution is to only add the automoc file to the target if Qt is found. 12 March 2013, 21:42:02 UTC
65b5c1e Merge branch 'property-link-depends-no-crash' into fix-automoc-no-qt 12 March 2013, 21:39:03 UTC
ab079ee Avoid crash when checking property compatibility without link info Teach the compatibility check added by commit 042ecf04 (Add API to calculate link-interface-dependent bool properties or error, 2013-01-06) to return early if no link information is available. This avoids crashing in a case that should fail with an error message. 12 March 2013, 21:25:59 UTC
92a2ab7 Avoid crash when checking property link dependencies without link info Teach the isLinkDependentProperty helper added by commit e9879910 (Make INTERFACE determined properties readable in generator expressions, 2013-01-19) to return early if no link information is available. 12 March 2013, 21:17:24 UTC
7f3bb8b Add $<SEMICOLON> generator expression. This expression is useful to put a ';' in a command line argument without dividing the argument during CMake list expansion. 12 March 2013, 20:46:03 UTC
1823ab4 ExternalData: Preserve escaped semicolons during argument expansion The CMake language implicitly flattens lists so a ";" in a list element must be escaped with a backslash. List expansion removes backslashes escaping semicolons to leave raw semicolons in the values. Teach ExternalData_Add_Test and ExternalData_Expand_Arguments to re-escape semicolons found in list elements so the resulting argument lists work as if constructed directly by the set() command. For example: ExternalData_Add_Test(Data NAME test1 COMMAND ... "a\\;b") ExternalData_Expand_Arguments(Data args2 "c\\;d") add_test(NAME test2 COMMAND ... ${args2}) should be equivalent to set(args1 "a\\;b") add_test(NAME test1 COMMAND ... ${args1}) set(args2 "c\\;d") add_test(NAME test2 COMMAND ... ${args2}) which is equivalent to add_test(NAME test1 COMMAND ... "a;b") add_test(NAME test2 COMMAND ... "c;d") Note that it is not possible to make ExternalData_Add_Test act exactly like add_test when quoted arguments contain semicolons because the CMake language flattens lists when constructing function ARGN values. This re-escape approach at least allows test arguments to have semicolons. While at it, teach ExternalData APIs to not transform "DATA{...;...}" arguments because the contained semicolons are non-sensical. Suggested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> 12 March 2013, 20:33:19 UTC
1532426 Merge topic 'findqt4-withqt5' 2112341 FindQt4: Do not use qmake from Qt5 12 March 2013, 17:47:08 UTC
28490ec Merge topic 'aix-shared-flags' bce7a2a AIX: Do not use -brtl to create shared libraries (#13997) 12 March 2013, 17:47:04 UTC
451ddcb Merge topic 'ninja-mingw-lang' 2271ca3 Ninja: the Ninja generator does not support Fortran yet. 751f712 Ninja: use MinGW generator code in EnableLanguage() 12 March 2013, 17:46:55 UTC
556ae30 Merge topic 'install-export-usr-move' 0c727b9 install(EXPORT): Force absolute paths for usr-move 12 March 2013, 17:46:51 UTC
32fb1f2 Merge topic 'vs7-empty-groups' 545fdec VS: Avoid empty source groups in some cases (#3474) 12 March 2013, 17:46:47 UTC
19922ac Merge topic 'cpack-nsis-no-release-version' 7947890 CPack: Fix NSIS version check without release version (#9721) 12 March 2013, 17:46:43 UTC
9505416 Merge topic 'fix-transitive-target-names' 1bdd167 Restore support for target names with '+' (#13986) 254687d Only process transitive interface properties for valid target names. 12 March 2013, 17:46:40 UTC
51af6cb Merge topic 'clean-target_link_libraries-test' adcc00b Remove unused parameters from target_link_libraries tests. 12 March 2013, 17:46:36 UTC
d74d154 Merge topic 'update-find_package-docs' b73e05d Mention that IMPORTED targets may be created by a find_package call. 12 March 2013, 17:46:31 UTC
e58117b Merge topic 'Win-HOST_SYSTEM_PROCESSOR' 20681c9 fix Windows processor detection 12 March 2013, 17:46:27 UTC
2a3011b Merge topic 'FindCUDA.cmake/AddCUDA_cupti_LIBRARY' c939b49 FindCUDA: Added cupti library. 12 March 2013, 17:46:21 UTC
142357a Merge topic 'FindCUDA.cmake/SeparableCompilation' 6a19150 FindCUDA: Add support for separable compilation 12 March 2013, 17:46:17 UTC
f0e93ce Merge topic 'FindCUDA.cmake/DontLinkAgainstCUDADriver' 3497bc2 FindCUDA: Remove linkage against CUDA driver library (#13084) 12 March 2013, 17:46:13 UTC
ff60380 Merge topic 'FindImageMagick-v6.8.0-8' 5fe9855 FindImageMagick: Search quantum depth suffixes (#13859) 12 March 2013, 17:46:10 UTC
2112341 FindQt4: Do not use qmake from Qt5 Wihtout this, if qmake binary is from Qt5 the FindQt4 fails even though the Qt4 version of qmake would be installed as qmake-qt4. On Archlinux this is the case. Reviewed-by: Clinton Stimpson <clinton@elemtech.com> 12 March 2013, 17:43:13 UTC
1bdd167 Restore support for target names with '+' (#13986) Extend the range of valid target names with the + sign. This character can commonly be used for target names, such as those containing 'c++'. Add a test but skip it for Borland and Watcom tools which do not support the character. Suggested-By: Benjamin Kloster 12 March 2013, 17:39:11 UTC
c939b49 FindCUDA: Added cupti library. In addition to adding the cupti library, find_local_library_first has been renamed to cuda_find_local_library_first with a backward compatibility macro to find_local_library_first. Also added cuda_find_local_library_first_with_path_ext to handle different paths. 12 March 2013, 17:38:40 UTC
6a19150 FindCUDA: Add support for separable compilation This adds a new variable, CUDA_SEPARABLE_COMPILATION, and two new functions, CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME and CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS. When CUDA_SEPARABLE_COMPILATION is specified then CUDA runtime objects will be compiled with the separable compilation flag. These object files are collected in a target named variable that can be used in CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME and CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS. 12 March 2013, 17:38:09 UTC
3497bc2 FindCUDA: Remove linkage against CUDA driver library (#13084) The CUDA runtime library (libcudart) doesn't depend on the driver API library (libcuda) and shouldn't be used to link CUDA run time codes. 12 March 2013, 17:37:44 UTC
1df4928 add_subdirectory: Compute output dir with consistent slashes (#10072) When the command is invoked without an explicit build directory path we compute it from the source directory path. When either the source or build tree is the root of a Windows drive letter it will have a trailing slash. Handle slashes consistently when substituting the current output directory for the current source directory. While at it, use cmSystemTools::IsSubDirectory instead of FindLastString to verify that the source directory is a subdirectory. Inspired-by: Graham Menhennitt <graham@menhennitt.com.au> 12 March 2013, 15:52:52 UTC
3cf2f67 Documentation: Clarify a few subtleties * Clarify accepted values of <LANG> suffix in CMAKE_COMPILER_IS_GNU<LANG>. * Clarify fact that target property GENERATOR_FILE_NAME usually cannot be used at configure time. * Clarify that enable_language() can only be used in global scope of top-level project using language. * State that enable_language(... OPTIONAL) currently doesn't work. * Document regular expression operator precedence. 12 March 2013, 13:29:55 UTC
51fc4fb CMake Nightly Date Stamp 12 March 2013, 04:01:18 UTC
bce7a2a AIX: Do not use -brtl to create shared libraries (#13997) The flag was added incorrectly by commit 9c3a6eb4 (Need -brtl when creating shared libraries, 2003-05-16). According to "man ld" the -G option implies "-brtl -bnortllib ...", -brtl implies "-brtllib", and -brtllib should only be used for executables, not shared libraries. Therefore it is incorrect and unnecessary to specify -brtl explicitly after -G. Reported-by: Kevin Burge <kcburge@gmail.com> 11 March 2013, 13:01:27 UTC
5990a56 CMake Nightly Date Stamp 11 March 2013, 04:01:12 UTC
2271ca3 Ninja: the Ninja generator does not support Fortran yet. 10 March 2013, 10:36:57 UTC
2e0229a CMake Nightly Date Stamp 10 March 2013, 05:01:11 UTC
3b4436a Ninja: escape line breaks in literals BUG: 13591 09 March 2013, 11:06:24 UTC
751f712 Ninja: use MinGW generator code in EnableLanguage() 09 March 2013, 10:28:45 UTC
2e80f10 CMake Nightly Date Stamp 09 March 2013, 05:01:10 UTC
0c727b9 install(EXPORT): Force absolute paths for usr-move If the absolute install(EXPORT) destination for the CMAKE_INSTALL_PREFIX used during configuration is under (/usr)?/lib(64)? then assume the current build is for a system package installation instead of a relocatable distribution. Generate an absolute path for _IMPORT_PREFIX in the target exports file instead of generating code to compute the value relative to the file location. This is necessary for distributions implementing a move to /usr such as: https://wiki.archlinux.org/index.php/DeveloperWiki:usrlib "All files in the /lib directory have been moved to /usr/lib and now /lib is a symlink to usr/lib." The relative path computation is not reliable because the targets file could be installed through cross-prefix a symlink and loaded without it or vice versa. A similar change was made for package configuration file generation by commit d4774140 (configure_package_config_file: force absolute paths for usr-move, 2013-01-24). 08 March 2013, 14:55:18 UTC
545fdec VS: Avoid empty source groups in some cases (#3474) Teach the WriteGroup method return true if a group or any of its children have source files. Have children write their output to a temporay cmOStringStream. Add it to the real output only if not empty. 08 March 2013, 13:27:12 UTC
7947890 CPack: Fix NSIS version check without release version (#9721) Only check a release version for the minimum required version. If NSIS returns a CVS build version string (as when built by Macports), skip the version check altogether and assume a sufficiently new version. Also correctly handle the case where the version check fails and the CPACK_TOPLEVEL_DIRECTORY option is not set. Co-Author: Graham Menhennitt <graham@menhennitt.com.au> 08 March 2013, 13:17:05 UTC
aa027af CMake Nightly Date Stamp 08 March 2013, 05:01:09 UTC
06a45e8 CMake Nightly Date Stamp 07 March 2013, 05:01:10 UTC
adcc00b Remove unused parameters from target_link_libraries tests. 06 March 2013, 21:54:49 UTC
b73e05d Mention that IMPORTED targets may be created by a find_package call. 06 March 2013, 20:35:20 UTC
20681c9 fix Windows processor detection Thanks to Martin Koller for this. 06 March 2013, 17:04:53 UTC
254687d Only process transitive interface properties for valid target names. Commit a1c4905f (Use the link information as a source of compile definitions and includes., 2013-02-12) introduced the use of link information as the source of target properties via the TARGET_PROPERTY generator expression. This generator expression has a strict interpretation of a valid target name and emits a fatal error for invalid names. Ensure that only targets with names valid for use with TARGET_PROPERTY or targets which are determined by generator expressions are processed by it. This means that at worst, invalid target names do not participate in the transitive evaluation of properties, but the validation generator expression can be extended where needed to resolve that. 06 March 2013, 16:42:08 UTC
efdf152 CMake Nightly Date Stamp 06 March 2013, 05:01:10 UTC
bbfc1ce Merge topic 'FixPreLinkTest' 5ab1259 Use PRE_LINK instead of PRE_BUILD when testing PRE_LINK. 05 March 2013, 19:11:02 UTC
631b7b8 Merge topic 'vs10-stack-size' 308c5a2 VS 10: Fix CMAKE_<LANG>_STACK_SIZE implementation (#13968) 05 March 2013, 19:10:55 UTC
4871960 CMake Nightly Date Stamp 05 March 2013, 05:01:11 UTC
e162d88 Merge topic 'GetPrerequisites-objdump' 12fb50d GetPrerequisites: Add documentation for objdump 8eb2fe9 GetPrerequisites: Enable test for BundleUtilities on MinGW 33c94c8 GetPrerequisites: Add support for objdump 5260a86 GetPrerequisites: Move tool search paths up 04 March 2013, 20:40:24 UTC
back to top