https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
a37b0e3 Merge topic 'qt4-autolink-qtmain' e3b5eb6 Automatically link to the qtmain library when linking to QtCore. 6c8d8af Add the $<TARGET_POLICY> expression 23 January 2013, 20:11:24 UTC
bf2e4e8 Merge topic 'fix-COMPATIBLE_INTERFACE-properties' 830246e Export the COMPATIBLE_INTERFACE_BOOL content properties bd82bb4 Clear the link information in ClearLinkMaps. e987991 Make INTERFACE determined properties readable in generator expressions. d9afacc Exit early if we find an inconsistent property. 1800f70 Populate the link information cache before checking dependent properties. 23 January 2013, 20:11:15 UTC
e7be8be Merge topic 'xcode-duplicate-flags-13354' f447db7 XCode generator won't infinitely parse compiler flags (bug #13354). 23 January 2013, 20:11:09 UTC
95f88fd Merge topic 'fix-target_include_directories-genex' 24dcf0c Make sure generator expressions can be used with target_include_directories. 23 January 2013, 20:11:04 UTC
8b4a2e0 Merge topic 'vs11-external-include' bc65b74 VS11: Fix VSExternalInclude test 23 January 2013, 20:10:58 UTC
f81e093 Merge topic 'ExternalProject-DEPENDS-target' c0f1af9 ExternalProject: Allow DEPENDS on normal targets (#13849) 23 January 2013, 20:10:44 UTC
c4c52b3 Merge topic 'automoc-object' 0e35cac Automoc: add OBJECT library to QtAutomoc test cf3faac Automoc: Fix automoc for OBJECT libraries. 23 January 2013, 20:10:39 UTC
e3b5eb6 Automatically link to the qtmain library when linking to QtCore. When using QAxServer, ensure that the qtmain library is excluded by reporting an error at CMake time if it is not. 23 January 2013, 19:15:41 UTC
3853a6c spell: fix a few typos in comments 23 January 2013, 15:51:31 UTC
a40c426 CMake Nightly Date Stamp 23 January 2013, 05:01:06 UTC
2db9b0b CMake Nightly Date Stamp 22 January 2013, 05:01:18 UTC
b98d14d Disallow porcelain to populate includes and defines of IMPORTED targets. With similar reasoning to the parent commit, as downstreams, we can't determine what $<CONFIG> generator expressions would be appropriate. Upstream would have populated the INTERFACE_INCLUDE_DIRECTORIES with config-specific generator expressions, possibly appropriate for their DEBUG_CONFIGURATIONS. In theory, if we would add include directories for a DEBUG intent, we would have to match the upstream configurations for that. Rather than attempting to discover the appropriate configurations at this time, simplify the feature instead. The use of IMPORTED targets with these commands could still be added in the future if targets would export their DEBUG_CONFIGURATIONS somehow. 21 January 2013, 11:32:46 UTC
48a4cf2 Revert "Allow target_link_libraries with IMPORTED targets." This reverts commit 9cfe4f1b769597bd9ba179eba46572a9df27f64c. It turns out that correctly adding the content to the IMPORTED_LINK_INTERFACE_LIBARIES_<CONFIG> of an upstream target from the buildsystem of a downstream project is not simple. If upstream had added the INTERFACE content, the config-specific properties would be determined by the DEBUG_CONFIGURATIONS of upstream. As downstream, we don't have any information about what the DEBUG_CONFIGURATIONS of upstream were, so we can't determine which configuration-specific properties to populate. The best we can do is add it to all of them or add it to the ones downstream considers to be DEBUG_CONFIGURATIONS, neither of which is a good solution. So, removing the porcelain API for that is the best approach. A human can still determine which properties to populate and use the set_property API to populate the desired properies. Another solution to this would be for upstream targets to publish what they consider DEBUG_CONFIGURATIONS, but that can be added in a future release. 21 January 2013, 11:19:39 UTC
6063fef Output include directories as LOG messages, not warnings. 21 January 2013, 08:12:22 UTC
aa66748 Specify the target whose includes are being listed. 21 January 2013, 08:12:22 UTC
d70204a Only output includes once after the start of 'generate-time' when debugging. During configure-time, GetIncludeDirectories may be called too, for example if using the export() command. As the content can be different, it should be output each time then. 21 January 2013, 08:12:22 UTC
0d46e9a Store includes from the same include_directories call together. Otherwise, we get a separate IncludeDirectoriesEntry for each include, and that causes unnecessary and confusing splitting in the output when debugging the INCLUDE_DIRECTORIES property. 21 January 2013, 08:12:22 UTC
830246e Export the COMPATIBLE_INTERFACE_BOOL content properties 21 January 2013, 08:05:03 UTC
bd82bb4 Clear the link information in ClearLinkMaps. The cache here needs to be cleared if GetLinkInformation is called at configure-time, such as during an export(). The next commit does exactly that, and without this patch, the LinkLanguage test would fail. 21 January 2013, 08:05:03 UTC
3ded614 CMake Nightly Date Stamp 21 January 2013, 05:01:20 UTC
02d4e53 Generate new-style cmake code during export. Use empty end*() commands and lowercase commands. 20 January 2013, 17:05:23 UTC
e987991 Make INTERFACE determined properties readable in generator expressions. The properties are evaluated as link-dependent interface properties when evaluating the generator expressions. 20 January 2013, 16:06:47 UTC
d7f1520 Don't wrap all targets in LINK_LIBRARIES in a TARGET_NAME genex. It is not necessary and the current state is unintentional. Before this patch, target_link_libraries(foo bar) causes the LINK_LIBRARIES property of foo to contain $<TARGET_NAME:bar> instead of just bar 20 January 2013, 10:25:35 UTC
35fbe4e CMake Nightly Date Stamp 20 January 2013, 05:01:25 UTC
5e57261 CMake Nightly Date Stamp 19 January 2013, 05:01:19 UTC
f447db7 XCode generator won't infinitely parse compiler flags (bug #13354). When parsing the compiler flag list we reduce the search space on each iteration to be the subset of the string we hadn't searched before. 18 January 2013, 16:55:50 UTC
d9afacc Exit early if we find an inconsistent property. Further messages about inconsistency are distracting. 18 January 2013, 15:10:37 UTC
c482dd8 CMake Nightly Date Stamp 18 January 2013, 05:01:03 UTC
6c8d8af Add the $<TARGET_POLICY> expression This new expression allows checking how a policy was set when a target was created. That information is only recorded for a subset of policies, so a whitelist is used. 17 January 2013, 16:20:17 UTC
2b5459c CMake Nightly Date Stamp 17 January 2013, 05:01:19 UTC
1800f70 Populate the link information cache before checking dependent properties. The dependent properties check can require the link information. 16 January 2013, 21:43:49 UTC
24dcf0c Make sure generator expressions can be used with target_include_directories. Handle the case that a generator expression is used before treating a non-target as an error. 16 January 2013, 21:16:46 UTC
bc65b74 VS11: Fix VSExternalInclude test Set CMAKE_SUPPRESS_REGENERATION in the Lib1 and Lib2 projects so that their .vcxproj files do not contain references to ZERO_CHECK. Such references do not make sense when using the files in another .sln file. This does not reduce the effectiveness of the test because real projects that use include_external_msproject will have their own .vcxproj files not generated by CMake anyway. 16 January 2013, 21:01:45 UTC
c0f1af9 ExternalProject: Allow DEPENDS on normal targets (#13849) The ExternalProject_Add DEPENDS option adds two types of dependencies. It adds a target-level build order dependency between the external project target and the named targets. It also adds a file-level dependency on the "done" stamp file of the named external project targets. Targets not created by ExternalProject_Add have no such stamp file and no _EP_STAMP_DIR property. Prior to commit d14c0243 (Refactor repeated code into function, 2012-04-26) we unconditionally accepted an empty stamp dir and generated a dependency on a non-existent file. After that commit we generate an error that no stamp dir is set. Skip the file-level dependency when the named dependency is not an external project target in order to allow this use case. Teach the ExternalProject test to cover the case. 16 January 2013, 15:35:58 UTC
c2ab74a CMake Nightly Date Stamp 16 January 2013, 05:01:30 UTC
3a7d1ce Merge topic 'test-export-iface-genex' 1d74ba2 Test evaluation target via export for generator expressions 522bdac Export the INTERFACE_PIC property. 4ee872c Make the BUILD_INTERFACE of export()ed targets work. 1d47cd9 Add a test for the interfaces in targets exported from the build tree. 6c828f9 Move the exported check for file existence. cfd4f0a Move the exported check for dependencies of targets d8fe1fc Only generate one check per missing target. f623d37 Don't write a comment in the export file without the code. b279f2b Strip consecutive semicolons when preprocessing genex strings. 15 January 2013, 19:43:05 UTC
1d74ba2 Test evaluation target via export for generator expressions 15 January 2013, 19:36:22 UTC
522bdac Export the INTERFACE_PIC property. 15 January 2013, 19:36:22 UTC
4ee872c Make the BUILD_INTERFACE of export()ed targets work. The existing BUILD_INTERFACE code is executed at generate time, which is too late for export(). 15 January 2013, 19:36:22 UTC
1d47cd9 Add a test for the interfaces in targets exported from the build tree. 15 January 2013, 19:36:22 UTC
6c828f9 Move the exported check for file existence. Check only once, in the Config.cmake file, instead of once in each Config-<cfg>.cmake file. 15 January 2013, 19:36:21 UTC
cfd4f0a Move the exported check for dependencies of targets Check only once, in the Config.cmake file, instead of once in each Config-<cfg>.cmake file. 15 January 2013, 19:36:21 UTC
d8fe1fc Only generate one check per missing target. 15 January 2013, 19:36:21 UTC
f623d37 Don't write a comment in the export file without the code. 15 January 2013, 19:36:21 UTC
b279f2b Strip consecutive semicolons when preprocessing genex strings. 15 January 2013, 19:36:21 UTC
33d4e0d Merge topic 'update-kwsys' e2c756f Merge branch 'upstream-kwsys' into update-kwsys 4ba0ac7 KWSys 2013-01-14 (6fa1c99f) 6f57a90 Merge branch 'upstream-kwsys' into update-kwsys 6318834 KWSys 2013-01-10 (608d6b47) 15 January 2013, 19:34:43 UTC
9a7da73 Merge topic 'TARGET_DEFINED-genex' 2bee6f5 Add the TARGET_DEFINED generator expression 15 January 2013, 19:34:38 UTC
a269e65 Merge topic 'commands-genex-docs' 7c7b94f Document the use of generator expressions in new commands. 15 January 2013, 19:34:33 UTC
8d91e23 Merge topic 'tll-allow-genex' 1da7502 Don't include generator expressions in old-style link handling. 15 January 2013, 19:34:29 UTC
0dce5bc Merge topic 'compatible-INTERFACE-user-properties' 7171fd0 Add a way to check INTERFACE user property compatibility. 15 January 2013, 19:34:24 UTC
d870867 Merge topic 'fix-empty-link-line-crash' 8ff1d47 CMake: Skip empty link.txt lines (#13845) 15 January 2013, 19:34:20 UTC
7171fd0 Add a way to check INTERFACE user property compatibility. 15 January 2013, 19:33:45 UTC
3a40a8a CMake Nightly Date Stamp 15 January 2013, 05:01:13 UTC
0e35cac Automoc: add OBJECT library to QtAutomoc test 15 January 2013, 03:45:46 UTC
cf3faac Automoc: Fix automoc for OBJECT libraries. Before this patch, add_library(obj OBJECT helper.cpp) add_executable(tgt $<TARGET_OBJECTS:obj>) didn't run automoc on helper.cpp. 15 January 2013, 03:43:04 UTC
e2c756f Merge branch 'upstream-kwsys' into update-kwsys 14 January 2013, 14:41:52 UTC
4ba0ac7 KWSys 2013-01-14 (6fa1c99f) Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 6fa1c99f | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 608d6b47..6fa1c99f Brad King (1): 84827cc1 Process: Avoid argv[0]==NULL from parsing empty command line Rolf Eike Beer (8): e041cd66 SystemInformation: factor out QueryMemoryBySysconf() ea850fa0 SystemInformation: factor out QueryProcessorBySysconf() 57f06d49 SystemInformation: count processors with sysconf() on Solaris c6057a06 SystemInformation: fix "Multi-character character constant" 5a27bd4f SystemInformation: make IsHyperThreadingSupported() return bool 342c0ad2 SystemInformation: query memory size with sysconf() on Solaris f0b857c1 SystemInformation: cache result of IsHyperThreadingSupported() ab0c2a09 SystemInformation: try using assembler with BorlandC Change-Id: I072371ed35eed892a5ef62a9e9e6cad734e961d9 14 January 2013, 14:41:45 UTC
36480ea CMake Nightly Date Stamp 14 January 2013, 05:01:23 UTC
2bee6f5 Add the TARGET_DEFINED generator expression This tests whether the parameter is a usable target. 13 January 2013, 23:08:47 UTC
7c7b94f Document the use of generator expressions in new commands. 13 January 2013, 09:04:40 UTC
1da7502 Don't include generator expressions in old-style link handling. Don't add generator expressions to variables which are used for CMP0003, CMP0004, and the old-style _LIB_DEPENDS content. They will not be evaluated when read anyway and would probably confuse the code reading them. This makes it legitimate to use target_link_libraries with generator expressions as arguments. 13 January 2013, 08:59:42 UTC
9822f8c CMake Nightly Date Stamp 13 January 2013, 05:01:16 UTC
3367d0c CMake Nightly Date Stamp 12 January 2013, 05:01:19 UTC
6f57a90 Merge branch 'upstream-kwsys' into update-kwsys 11 January 2013, 16:34:59 UTC
6318834 KWSys 2013-01-10 (608d6b47) Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 608d6b47 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' fc60c8b8..608d6b47 Rolf Eike Beer (6): 297758a5 SystemInformation: fix conversion warning 79ef34ef SystemInformation: fix calling kwsysProcess_WaitForData() f1068caf SystemInformation: speed up copying process data 7dfc27d5 SystemInformation: check CPU vendor and SSE support on OpenBSD 494d9d7a SystemInformation: get stepping code on Intel Macs 608d6b47 SystemInformation: determine processor features on Intel Macs Change-Id: I7f5bc5b7af2bf7d4e5c1ee291c286add0f17a7d5 11 January 2013, 16:34:55 UTC
c0c8ef8 Merge topic 'LINK_INTERFACE_LIBRARIES-genex' 77d2646 Allow generator expressions in LINK_INTERFACE_LIBRARIES. 94aeaf7 Split LINK_INTERFACE_LIBRARIES export handling into dedicated method. a3aedb8 Split the generator expression before extracting targets. b6036d1 Extract the AddTargetNamespace method. cb1afbf Don't pass a position when determining if a target name is a literal. f99196d Add cmGeneratorExpression::Split() API. 11 January 2013, 16:32:13 UTC
ffe9331 Merge topic 'fix-imported-lib-linking-test' 93034a8 Fix linking to imported libraries test. 11 January 2013, 16:32:09 UTC
8ff1d47 CMake: Skip empty link.txt lines (#13845) In the implementation of "cmake -E cmake_link_script", skip lines from the input file that are empty or contain only whitespace. Do not try to run a child with no command line. 11 January 2013, 15:57:39 UTC
5929086 CMake Nightly Date Stamp 11 January 2013, 05:01:18 UTC
77d2646 Allow generator expressions in LINK_INTERFACE_LIBRARIES. The Config and IMPORTED_ variants may also contain generator expressions. If 'the implementation is the interface', then the result of evaluating the expressions at generate time is used to populate the IMPORTED_LINK_INTERFACE_LIBRARIES property. 1) In the case of non-static libraries, this is fine because the user still has the option to populate the LINK_INTERFACE_LIBRARIES with generator expressions if that is what is wanted. 2) In the case of static libraries, this prevents a footgun, enforcing that the interface and the implementation are really the same. Otherwise, the LINK_LIBRARIES could contain a generator expression which is evaluated with a different context at build time, and when used as an imported target. That would mean that the result of evaluating the INTERFACE_LINK_LIBRARIES property for a static library would not necessarily be the 'link implementation'. For example: add_library(libone STATIC libone.cpp) add_library(libtwo STATIC libtwo.cpp) add_library(libthree STATIC libthree.cpp) target_link_libraries(libtwo $<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,STATIC_LIBRARY>:libone>) target_link_libraries(libthree libtwo) If the LINK_LIBRARIES content was simply copied to the IMPORTED_LINK_INTERFACE_LIBRARIES, then libthree links to libone, but executables linking to libthree will not link to libone. 3) As the 'implementation is the interface' concept is to be deprecated in the future anyway, this should be fine. 10 January 2013, 22:04:06 UTC
94aeaf7 Split LINK_INTERFACE_LIBRARIES export handling into dedicated method. 10 January 2013, 17:06:57 UTC
a3aedb8 Split the generator expression before extracting targets. Now that we're processing a LINK_INTERFACE_LIBRARIES string, it can contain targets. Make sure they are extracted for namespacing purposes. This needs to be restricted to strings which can actually have targets named in them. For example, this is not done for INTERFACE_COMPILE_DEFINITIONS, because even if there is a target named 'foo', the string 'foo' in that property means that '-Dfoo' will be set when compiling. 10 January 2013, 17:06:57 UTC
b6036d1 Extract the AddTargetNamespace method. 10 January 2013, 17:06:03 UTC
cb1afbf Don't pass a position when determining if a target name is a literal. The lastPos refers to a position in a different string. 10 January 2013, 17:06:03 UTC
f99196d Add cmGeneratorExpression::Split() API. It can split a string like "A;$<1:B>;$<1:C>;D;E;$<1:F;G;H>;$<1:I>;J" into "A" "$<1:B>" "$<1:C>" "D" "E" "$<1:F;G;H>" "$<1:I>" "J" 10 January 2013, 17:06:03 UTC
93034a8 Fix linking to imported libraries test. Make a C executable instead of attempting to make a C++ static library (and not really succeeding). This was introduced in commit 894f52f3 (Handle INTERFACE properties transitively for includes and defines., 2012-09-23). 10 January 2013, 16:13:19 UTC
378899c Merge topic 'INTERFACE_POSITION_INDEPENDENT_CODE' 3581b96 Process the INTERFACE_PIC property from linked dependencies 042ecf0 Add API to calculate link-interface-dependent bool properties or error. bf5ece5 Keep track of properties used to determine linker libraries. 10 January 2013, 15:22:52 UTC
325e92f Merge topic 'target-includes-defines-commands' fc61a7a Add the target_compile_definitions command. 8a37ebe Add the target_include_directories command. 10 January 2013, 15:22:46 UTC
feb9ffb Merge topic 'qt4-target-depends' c8ee07d FindQt4: Add INTERFACE includes and defines to Qt4 targets 10 January 2013, 15:22:40 UTC
281f3d9 Merge topic 'use-wundef' c772810 Add the -Wundef flag when compiling CMake. 10 January 2013, 15:22:31 UTC
2341470 Merge topic 'tll-IMPORTED-targets' 9cfe4f1 Allow target_link_libraries with IMPORTED targets. 10 January 2013, 15:22:26 UTC
42d9df9 Merge topic 'Haiku' 0380f36 FindOpenGL: add Haiku paths 8e9630c FindGLUT: BeOS does not have libXi and libXmu 50bfedf FindLua51: do not try to link libm on BeOS 3d2e6a0 check for Haiku only with __HAIKU__ 7a1b961 Haiku no longer defines __BEOS__ ed96d9a bootstrap: use better defaults for Haiku 10 January 2013, 15:22:14 UTC
8a7a4c0 Merge topic 'update-KWIML' 32fb667 Merge branch 'upstream-kwiml' into update-KWIML 9fdfe07 KWIML: Teach ABI about 'long long' on older GNU 10 January 2013, 15:22:09 UTC
3581b96 Process the INTERFACE_PIC property from linked dependencies This allows a dependee to inform a target that it should have its POSITION_INDEPENDENT_CODE property set to ON, or OFF. The value of the POSITION_INDEPENDENT_CODE property, if set, must be consistent with any INTERFACE_POSITION_INDEPENDENT_CODE properties on dependees. Add a test covering the consistency checks on platforms where they run. 10 January 2013, 14:54:52 UTC
fc61a7a Add the target_compile_definitions command. This is a convenience API to populate the corresponding properties. 10 January 2013, 14:46:58 UTC
8a37ebe Add the target_include_directories command. This is a convenience API to populate the corresponding properties. 10 January 2013, 14:46:57 UTC
c8ee07d FindQt4: Add INTERFACE includes and defines to Qt4 targets 10 January 2013, 14:44:50 UTC
96c1a1b CMake Nightly Date Stamp 10 January 2013, 05:01:20 UTC
30c02f1 CMake Nightly Date Stamp 09 January 2013, 05:01:16 UTC
32fb667 Merge branch 'upstream-kwiml' into update-KWIML 08 January 2013, 20:31:53 UTC
9fdfe07 KWIML: Teach ABI about 'long long' on older GNU Old GNU compilers do not define __SIZEOF_LONG_LONG__ or __LONG_LONG_MAX__ but do provide a 64-bit 'long long' type. Suggested-by: Rolf Eike Beer <eike@sf-mail.de> 08 January 2013, 20:31:13 UTC
042ecf0 Add API to calculate link-interface-dependent bool properties or error. This new method checks that the property FOO on a target is consistent with the INTERFACE_FOO properties of its dependees. If they are not the consistent, an error is reported. 'Consistent' means that iff the property is set, it must have the same boolean value as all other related properties. 08 January 2013, 19:38:16 UTC
bf5ece5 Keep track of properties used to determine linker libraries. Those properties can't later be implicitly defined by the interface of those link libraries. 08 January 2013, 19:38:16 UTC
c772810 Add the -Wundef flag when compiling CMake. 08 January 2013, 19:35:23 UTC
a9f1bf4 Merge topic 'LINK_LIBRARIES-property' 7653862 Add LINK_LIBRARIES property for direct target link dependencies 40cf3fb Make linking APIs aware of 'head' target 08 January 2013, 19:32:41 UTC
e41d495 Merge topic 'update-kwsys' 6f6afbd Merge branch 'upstream-kwsys' into update-kwsys 495fa24 KWSys 2013-01-07 (fc60c8b8) 08 January 2013, 19:32:37 UTC
6095e9f Merge topic 'include-dirs-convenience' 9ce1b9e Add CMAKE_BUILD_INTERFACE_INCLUDES build-variable. 08 January 2013, 19:32:28 UTC
bc414ae Merge topic 'qt4-version-openssl' 4b9ec00 FindQt4: set QT_VERSION_* variables sooner. 08 January 2013, 19:32:22 UTC
9549ac1 Merge topic 'vs11-external-object' b684b39 VS11: Simplify external object file handling (#13831) 08 January 2013, 19:32:17 UTC
af770bc Merge topic 'deprecate-load_command' 09a0da7 Revert "load_command: Deprecate and document pending removal" 08 January 2013, 19:31:57 UTC
back to top