https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
06f170f Update cmVisualStudio10TargetGenerator.cxx 13 June 2013, 05:15:27 UTC
69ab430 Update CMakeLists.txt Update test to make it work without setting toplevel projecte /clr option. 11 June 2013, 11:08:30 UTC
0182b6b Update cmVisualStudio10TargetGenerator.cxx In our work we are using cmake to generate c++/cli projects where we use mixed code (managed and unmanaged). Setting the <CLRSupport> true for the project - based on if an resx-file is pressent - prevents us from using native cpp code. Also this do not address that some projects will need to set other options like clr:pure, clr:safe. This could be implemented as a cmake option, so it is possible to specify exactly what is needed. 11 June 2013, 09:13:13 UTC
b17d398 Update cmVisualStudio10TargetGenerator.cxx resx files do not link correctly with the winform h-file. Move resx configuration from the vcxproj.filters file to the vcxproj file 11 June 2013, 08:54:15 UTC
b5a5453 Update cmVisualStudio10TargetGenerator.h resx files do not link correctly with the winform h-file. Move resx configuration from the vcxproj.filters file to the vcxproj file 11 June 2013, 08:51:22 UTC
a2021e5 CMake Nightly Date Stamp 11 June 2013, 04:01:04 UTC
30fd0b2 Merge branch 'release' 10 June 2013, 15:23:36 UTC
9ac6016 CMake Nightly Date Stamp 10 June 2013, 04:01:02 UTC
adfe9b3 CMake Nightly Date Stamp 09 June 2013, 04:01:03 UTC
63e7137 CMake Nightly Date Stamp 08 June 2013, 04:01:03 UTC
e7fc1c6 CMake Nightly Date Stamp 07 June 2013, 04:01:04 UTC
bb879bc CMake Nightly Date Stamp 06 June 2013, 04:01:04 UTC
d3c8688 Merge topic 'fix-genex-HEAD-target' 5b22235 Genex: Fix the HEAD target used for evaluated expressions 05 June 2013, 13:54:20 UTC
c479a06 CMake 2.8.11.1 05 June 2013, 13:47:09 UTC
14779f8 Merge branch 'fix-genex-HEAD-target' into release 05 June 2013, 13:44:52 UTC
c628fbc Merge branch 'xcode-framework-paths' into release 05 June 2013, 13:44:42 UTC
4b91888 Merge branch 'fix-include_directories-whitespace-handling' into release 05 June 2013, 13:44:13 UTC
aa025cc Merge topic 'xcode-framework-paths' 21a0bea Xcode: Fix framework search paths in STATIC library targets (#14191) 05 June 2013, 13:39:52 UTC
c02f01b Merge topic 'fix-path-root-dot-dot' d26800b get_filename_component: Test ABSOLUTE of .. after root component 05 June 2013, 13:39:48 UTC
31a0220 Merge topic 'update-kwsys' c91e88d Merge branch 'upstream-kwsys' into update-kwsys 6dc3dd9 KWSys 2013-06-03 (d79a792e) 05 June 2013, 13:39:41 UTC
bf57982 Merge topic 'doc-CMAKE_PARENT_LIST_FILE' b62d440 Docs: Clarify CMAKE_PARENT_LIST_FILE (#14194) 05 June 2013, 13:39:27 UTC
21b1026 Merge topic 'suppress-unused-cli-with-value-in-cache' 273ecab CLI: Suppress the unused warning if the key value pair is cached. 05 June 2013, 13:39:18 UTC
2cd8a6a Merge topic 'cleanups' 9efe359 Add some spaces to the INCLUDE_DIRECTORIES documentation. db15713 Remove unused cmAddDefinitionsCommand::ParseDefinition method. 05 June 2013, 13:39:12 UTC
9331783 Merge topic 'add_compile_options-command' a984f32 Introduce add_compile_options command. 05 June 2013, 13:39:05 UTC
ff8917f Merge topic 'VISIBILITY_PRESET-property' cd1fa53 Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property. 0e9f4bc Introduce target property <LANG>_VISIBILITY_PRESET 05 June 2013, 13:38:59 UTC
5b22235 Genex: Fix the HEAD target used for evaluated expressions If the expression $<TARGET_PROPERTY:prop> appears in the content of a target property, the target that prop is read from is the 'head target' of the expression. In contexts such as evaluating the content of a target property during generation, such as INCLUDE_DIRECTORIES, the 'head target' is the one on which the initial request was made. If evaluating a generator expression which is not a target property content, the target must be explicitly specified. Such contexts include add_custom_command and file(GENERATE). The content might then look like $<TARGET_PROPERTY:tgt,prop> However, as there is no HeadTarget set, any generator expressions evaluated as part of reading prop from tgt which do not specify the tgt directly report an error. Modify the logic of the TARGET_PROPERTY generator expression so that in such contexts, the 'head target' is set to the appropriate target which was first encountered. 05 June 2013, 13:05:00 UTC
4d15c0b CMake Nightly Date Stamp 05 June 2013, 04:01:08 UTC
21a0bea Xcode: Fix framework search paths in STATIC library targets (#14191) In commit 2bc22bda (Xcode: Add frameworks search paths from link dependeny closure, 2012-12-07) we made framework search paths from the link closure conditional on target type, skipping it on STATIC and OBJECT library targets that do not actually link. However, the framework search paths also influence the compile lines (-F options) so we need them for all target types. The Makefile generator already does this, as did the Xcode generator prior to the above-mentioned commit. 04 June 2013, 13:49:40 UTC
d26800b get_filename_component: Test ABSOLUTE of .. after root component Teach the RunCMake.get_filename_component test to verify that ".." does not remove the root filename component. 04 June 2013, 13:09:22 UTC
c91e88d Merge branch 'upstream-kwsys' into update-kwsys 04 June 2013, 13:08:58 UTC
6dc3dd9 KWSys 2013-06-03 (d79a792e) Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ d79a792e | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' dccf7725..d79a792e Brad King (1): d79a792e SystemTools: Fix CollapseFullPath to not erase root component Change-Id: I25c6600a621a960738b5afc0ba73f63df0693303 04 June 2013, 13:08:54 UTC
d3971ee Merge topic 'fix-variable_watch-cases' 647745b variable_watch: Print accesses as "CMake Debug Log" messages 515f9af variable_watch: Remove leftover debugging code (#14187) c63d300 variable_watch: Add test for MODIFIED_ACCESS report 3d5bb38 variable_watch: Add missing string enumeration entry (#14188) 04 June 2013, 13:03:00 UTC
1e15db3 Merge topic 'update-kwsys' 9d38db5 bootstrap: Compile KWSys SystemTools with UTIME(S|NSAT) values 884e3ed Merge branch 'upstream-kwsys' into update-kwsys d66f6f3 KWSys 2013-05-31 (dccf7725) 04 June 2013, 13:02:52 UTC
05e47f2 Merge topic 'cfbundle-location' 483e208 OS X: Fix getting of CFBundle LOCATION property. 04 June 2013, 13:02:46 UTC
b418327 Merge topic 'qt4-macros-TARGET-arg' 9ce60ff Qt4Macros: Allow specifying a TARGET in invokations of macros. 04 June 2013, 13:02:37 UTC
b62d440 Docs: Clarify CMAKE_PARENT_LIST_FILE (#14194) Fix the wording of the documentation for CMAKE_PARENT_LIST_FILE to clarify that it only applies to the include stack in the current directory. Specify exactly what commands can include files instead of saying "somehow invoke". 04 June 2013, 12:18:15 UTC
273ecab CLI: Suppress the unused warning if the key value pair is cached. It is common to specify a CMAKE_TOOLCHAIN_FILE and get a warning for using it despite it not being used. The WarnUnusedCliUnused test relies on the warning being emitted each time cmake is run on an existing build. That behavior is changed by this patch to warn only on the first invokation of CMake, and not on subsequent invokations (because the variable is in the cache with the same value). For that test, a clean target is added which clears the cache and cause the warning to be emitted each time. As the Ninja generator does not support the feature needed to test this, it is not tested with that generator. 04 June 2013, 10:38:56 UTC
9efe359 Add some spaces to the INCLUDE_DIRECTORIES documentation. 04 June 2013, 10:00:41 UTC
db15713 Remove unused cmAddDefinitionsCommand::ParseDefinition method. 04 June 2013, 10:00:32 UTC
a984f32 Introduce add_compile_options command. This command is similar to add_definitions, in that it affects the compile options of all targets which follow it. The implementation is similar to the implementation of the include_directories command, in that it is based on populating a COMPILE_OPTIONS directory property and using that to initialize the same property on targets. Unlike the include_directories command however, the add_compile_options command does not affect previously defined targets. That is, in the following code, foo will not be compiled with -Wall, but bar will be: add_library(foo ...) add_compile_options(-Wall) add_library(bar ...) 04 June 2013, 09:36:55 UTC
00c3840 CMake Nightly Date Stamp 04 June 2013, 04:01:05 UTC
e31caa6 Merge branch 'fix-qt4_use_modules-QtAx' into release 03 June 2013, 18:02:12 UTC
8e23c0b Merge branch 'find-Qt4-granular-modules' into release 03 June 2013, 18:02:07 UTC
49cc8f4 Merge branch 'escape-regex-specials-in-path' into release 03 June 2013, 17:59:44 UTC
c9be17c Merge topic 'escape-regex-specials-in-path' e4e0921 Merge branch 'master' into escape-regex-specials-in-path c9b75dc Fix test failures caused by regexp-sensitive characters in the build paths 03 June 2013, 17:51:31 UTC
e4e0921 Merge branch 'master' into escape-regex-specials-in-path Resolve conflicts in Tests/CTestTestMemcheck/CMakeLists.txt by combining changes from both sides. 03 June 2013, 17:43:52 UTC
647745b variable_watch: Print accesses as "CMake Debug Log" messages Use makefile->IssueMessage() to print the unprocessed watch message in a format consistent with other CMake messages and with a more complete call stack for the access. 03 June 2013, 17:19:59 UTC
515f9af variable_watch: Remove leftover debugging code (#14187) When a watch does not specify a command to call then variable_watch prints out a message to stderr. Remove code after that which collects all variable values to construct a message that is never printed. Otherwise such code causes a READ_ACCESS watch to trigger on all variables in the currents scope. Reported-by: Yichao Yu <yyc1992@gmail.com> 03 June 2013, 17:13:07 UTC
c9b75dc Fix test failures caused by regexp-sensitive characters in the build paths Checkout [1] as an example of the test failures. In that particular cases, the failures is caused by the plus sign in the path being pass unescaped (buildd-cmake_2.8.9-1~bpo60+1-armel-3Lvkef) to the regexp. In addition to failures in the log, the following new tests also fail in 2.8.11: 243 - CTestTestMemcheckUnknown (Failed) 244 - CTestTestMemcheckUnknownQuoted (Failed) 248 - CTestTestMemcheckDummyValgrindFailPre (Failed) 249 - CTestTestMemcheckDummyValgrindFailPost (Failed) 250 - CTestTestMemcheckDummyPurify (Failed) 251 - CTestTestMemcheckDummyBC (Failed) 253 - CMake.List (Failed) [1] https://buildd.debian.org/status/fetch.php?pkg=cmake&arch=armel&ver=2.8.9-1~bpo60%2B1&stamp=1369243896 03 June 2013, 14:51:21 UTC
9d38db5 bootstrap: Compile KWSys SystemTools with UTIME(S|NSAT) values The parent commit merged a change to KWSys that adds preprocessor definitions for KWSYS_CXX_HAS_UTIMENSAT and KWSYS_CXX_HAS_UTIMES to the command line for compiling SystemTools. For bootstrapping we do not need sub-1s timestamps so just define them to 0 for now. 03 June 2013, 14:36:00 UTC
884e3ed Merge branch 'upstream-kwsys' into update-kwsys 03 June 2013, 14:23:31 UTC
d66f6f3 KWSys 2013-05-31 (dccf7725) Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ dccf7725 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 725e541e..dccf7725 Brad King (2): e3370418 SystemTools: Use COMPILE_DEFINITIONS to pass platform tests dccf7725 SystemTools: Touch with better than 1s resolution if possible Change-Id: Icdbcdf405e27b2d5dd30857c7c8679ed5096f252 03 June 2013, 14:23:16 UTC
c63d300 variable_watch: Add test for MODIFIED_ACCESS report Add a RunCMake.variable_watch watch test to cover the basic use case. 03 June 2013, 14:20:31 UTC
3d5bb38 variable_watch: Add missing string enumeration entry (#14188) In commit 9a5b4eba (All variable accesses should produce watch callbacks, 2007-05-17) we added a new enumeration value but did not update the list of strings matching them. Add the missing entry. Without this, variable_watch prints REMOVED_ACCESS instead of MODIFIED_ACCESS when set the value of the variable. 03 June 2013, 14:20:08 UTC
d114fc3 Merge topic 'useless-MATCHES' cd4451d replace string(... MATCHES "^const$) with string(... STREQUAL "const") 03 June 2013, 13:57:53 UTC
e57b6a2 Merge topic 'target-COMPILE_OPTIONS' 24466f2 Add target_compile_options command. 80ca9c4 Add COMPILE_OPTIONS target property. 7cb2308 cmTarget: Rename LinkInterfaceIncludeDirectoriesEntries 47f80d9 cmTarget: Rename struct to be more re-usable. 1319a14 Add <LANG>_COMPILER_ID generator expressions. 3549676 Add cmLocalGenerator::GetCompileOptions. f3ad863 VS6: Rename some variables to correspond to config values. 03 June 2013, 13:57:44 UTC
bcc29c5 Merge topic 'refactor-try_compile-argument-processing' d06db7e try_compile: Refactor argument processing b680824 try_compile: Add test for bad call error cases 03 June 2013, 13:57:39 UTC
90441b2 Merge topic 'vs-RootNamespace' cca955a VS: Add VS_GLOBAL_ROOTNAMESPACE target property 03 June 2013, 13:57:32 UTC
db5f524 Merge topic 'fix-style' e162326 Fix indentation. 03 June 2013, 13:57:27 UTC
7be0797 Merge topic 'FindImageMagick-v6-includes' 3de9bb4 FindImageMagick: Find v6 include dir (#14174) 03 June 2013, 13:57:22 UTC
406d270 Merge topic 'SelectLibraryConfigurations-cached-library' a2099a8 SelectLibraryConfigurations: Fix for cached <base>_LIBRARY 03 June 2013, 13:57:08 UTC
6d4e79e Merge topic 'qt4-qt5-CMAKE_AUTOMOC' fa55751 QtAutomoc: Get the Qt version through the target link interface f776316 Use the qt5::moc imported target instead of a variable. 03 June 2013, 13:57:01 UTC
3caf565 Merge topic 'rpath-on-mac' dc1d025 OS X: Add test for rpaths on Mac. 8576b3f OS X: Add support for @rpath in export files. 00d71bd Xcode: Add rpath support in Xcode generator. 94e7fef OS X: Add RPATH support for Mac. 03 June 2013, 13:56:44 UTC
d444fea Merge topic 'xcode-shlib-versioning' cbe3f20 Xcode: Add support for shared library versioning 03 June 2013, 13:56:37 UTC
b0759da Merge topic 'framework-refactor' 373faae Refactor how bundles and frameworks are supported. 03 June 2013, 13:56:32 UTC
800e764 Merge topic 'fix-qt4_use_modules-QtAx' ce0c480 Qt4Macros: Handle Qt ActiveX libraries in qt4_use_modules. 03 June 2013, 13:56:26 UTC
acf42ba Merge topic 'find-Qt4-granular-modules' b8af46c FindQt4: Don't fail if certain Qt modules are unavailable. 03 June 2013, 13:56:21 UTC
dc1d025 OS X: Add test for rpaths on Mac. This also tests rpaths through export/import. 03 June 2013, 13:42:06 UTC
8576b3f OS X: Add support for @rpath in export files. Also expand the IMPORTED_SONAME property for targets to match the install_name. 03 June 2013, 13:42:05 UTC
00d71bd Xcode: Add rpath support in Xcode generator. 03 June 2013, 13:42:05 UTC
94e7fef OS X: Add RPATH support for Mac. RPATH support is activated on targets that have the MACOSX_RPATH property turned on. For install time, it is also useful to set INSTALL_RPATH to help find dependent libraries with an @rpath in their install name. Also adding detection of rpath conflicts when using frameworks. 03 June 2013, 13:42:05 UTC
ce0c480 Qt4Macros: Handle Qt ActiveX libraries in qt4_use_modules. These libraries have non-conventional variable names. 03 June 2013, 13:40:31 UTC
b8af46c FindQt4: Don't fail if certain Qt modules are unavailable. 03 June 2013, 13:39:56 UTC
483e208 OS X: Fix getting of CFBundle LOCATION property. This fixes bug #13797. The kinds of changes applied in 373faae5 for frameworks are now applied to CFBundle. The prefix and suffix for CFBundles are now handled in cmTarget::GetFullNameInternal. 03 June 2013, 12:29:33 UTC
9ce60ff Qt4Macros: Allow specifying a TARGET in invokations of macros. That will allow things like this: find_package(Qt4) qt4_generate_moc(myfile.h moc_myfile.cpp TARGET foo) # Note, foo target doesn't # exist until below. add_library(foo ...) The qt4_generate_moc call would use the INCLUDE_DIRECTORIES from the foo target using generator expressions. Currently it reads the INCLUDE_DIRECTORIES directory property, meaning that include_directories() is required. Support for the TARGET is also added to qt4_wrap_cpp, but not qt4_automoc, as that is deprecated in favor of the AUTOMOC target property. The moc tool reports failure if the Q_INTERFACES macro is used with an argument which has not appeared with Q_DECLARE_INTERFACE, so that is the basis of the unit test. The command line arguments are now always written to a file, which is passed to moc as the @atfile. This was already the case on Windows, but now it is used everywhere. The reason for that is that it is not currently possible to expand the list of includes from a target directly in a add_custom_command invokation (though that may become possible in the future). There is not a big disadvantage to using the file anyway on unix, so having one code path instead of two is also a motivation. 03 June 2013, 08:07:02 UTC
3c7e09e CMake Nightly Date Stamp 03 June 2013, 04:01:05 UTC
cd4451d replace string(... MATCHES "^const$) with string(... STREQUAL "const") 02 June 2013, 20:18:19 UTC
cd1fa53 Add a COMPILE_OPTION for a VISIBILITY_INLINES_HIDDEN target property. This corresponds to the g++ and clang++ option -fvisibility-inlines-hidden on linux. On Windows with MinGW, this corresponds to -fno-keep-inline-dllexport. That option is not supported by clang currently. 02 June 2013, 10:00:51 UTC
0e9f4bc Introduce target property <LANG>_VISIBILITY_PRESET This is initialized by CMAKE_<LANG>_VISIBILITY_PRESET. The target property is used as the operand to the -fvisibility= compile option with GNU compilers and clang. 02 June 2013, 10:00:51 UTC
24466f2 Add target_compile_options command. This command populates the COMPILE_OPTIONS target property. 02 June 2013, 09:56:37 UTC
80ca9c4 Add COMPILE_OPTIONS target property. This method reads generator expressions from the COMPILE_OPTIONS target property, as well as INTERFACE_COMPILE_OPTIONS from linked dependents. 02 June 2013, 09:56:37 UTC
7cb2308 cmTarget: Rename LinkInterfaceIncludeDirectoriesEntries This can be used for COMPILE_OPTIONS too. 02 June 2013, 09:56:37 UTC
47f80d9 cmTarget: Rename struct to be more re-usable. The same struct can be used to represent COMPILE_OPTIONS content. 02 June 2013, 09:56:36 UTC
1319a14 Add <LANG>_COMPILER_ID generator expressions. These expressions evaluate to the id of the compiler used to build the target, or can be used to test if the compiler id matches a specified value. 02 June 2013, 09:56:36 UTC
3549676 Add cmLocalGenerator::GetCompileOptions. Currently it only adds the contents of the COMPILE_FLAGS target property, but it can be extended to handle a new COMPILE_OPTIONS generator expression enabled property. 02 June 2013, 09:56:36 UTC
f3ad863 VS6: Rename some variables to correspond to config values. This simplifies population of the compile flags. 02 June 2013, 09:56:36 UTC
a4d8c64 CMake Nightly Date Stamp 02 June 2013, 04:01:03 UTC
86f5460 CMake Nightly Date Stamp 01 June 2013, 04:01:03 UTC
d06db7e try_compile: Refactor argument processing Process all arguments in a single loop using a simple state machine. While at it, fix some error message typos. Also allow LINK_LIBRARIES with no actual libraries to disable use of the -DLINK_LIBRARIES=... from the CMAKE_FLAGS. This was already possible in the old logic if LINK_LIBRARIES was immediately followed by another keyword argument instead of the end of the argument list, so allow it in general. Update the RunCMake.try_compile test cases accordingly. 31 May 2013, 14:01:50 UTC
b680824 try_compile: Add test for bad call error cases Add a RunCMake.try_compile test to cover cases of bad invocation of the try_compile command. 31 May 2013, 14:00:42 UTC
498633b Merge branch 'FindBoost-normalize-slashes' into release 31 May 2013, 13:37:46 UTC
293f538 Merge branch 'ExternalData-no-re-stage' into release 31 May 2013, 13:37:40 UTC
189cd28 Merge branch 'test-INCLUDE_DIRECTORIES-genex-read' into release 31 May 2013, 13:37:32 UTC
1ba5088 Merge branch 'fix-INCLUDE_DIRECTORIES-genex-read' into release 31 May 2013, 13:37:27 UTC
8f26ed4 Merge branch 'fix-try_compile-library-spaces' into release 31 May 2013, 13:37:20 UTC
aad04ef Merge branch 'fix-FileIsDirectory-SEGV' into release 31 May 2013, 13:37:10 UTC
5377ac4 Merge topic 'fix-try_compile-library-spaces' e537544 try_compile: Trim whitespace from LINK_LIBRARIES entries 31 May 2013, 13:33:54 UTC
1f73d65 Merge topic 'FindBoost-normalize-slashes' 363825c FindBoost: Fix handling of \ in input paths (#14179) 31 May 2013, 13:33:35 UTC
69cc676 Merge topic 'test-INCLUDE_DIRECTORIES-genex-read' 07f9e15 GenexEval: Test evaluation of INCLUDE_DIRECTORIES target property. 31 May 2013, 13:33:26 UTC
7b8a4c3 Merge topic 'fix-INCLUDE_DIRECTORIES-genex-read' 3aa9ce4 GenexEval: Fix evaluation of INCLUDE_DIRECTORIES target property. 0b39fef GenexEval: Extract a getLinkedTargetsContent from TargetPropertyNode. 53164ac cmTarget: Remove some hardcoding of transitive property names. 31 May 2013, 13:33:22 UTC
back to top