a3b7caa | David Cole | 27 March 2012, 19:56:31 UTC | Merge topic 'AutomocProperCMakeEscaping_13018' 9b32475 automoc: add define to test which caused bug #13018 2066511 automoc: fix #13018, proper cmake escaping to avoid false rebuilds c652812 make cmLocalGenerator::EscapeForCMake() static | 27 March 2012, 19:56:31 UTC |
ef309e9 | David Cole | 27 March 2012, 19:56:13 UTC | Merge topic 'ninja-generator' 6b5614f Ninja: Substitute <OBJECT> and <CMAKE_C_COMPILER> in depfile flags | 27 March 2012, 19:56:13 UTC |
77ec098 | KWSys Robot | 27 March 2012, 04:01:04 UTC | KWSys Nightly Date Stamp | 27 March 2012, 04:05:07 UTC |
9b32475 | Alex Neundorf | 26 March 2012, 20:11:46 UTC | automoc: add define to test which caused bug #13018 This does not really test that the bug is fixed, but at least it makes it easy to check manually whether the bug is there or not. I have to see whether I can build a test which does test that a target is not rebuilt everytime. Alex | 26 March 2012, 20:11:46 UTC |
2066511 | Alex Neundorf | 20 March 2012, 21:52:05 UTC | automoc: fix #13018, proper cmake escaping to avoid false rebuilds The variables stored in the AutomocInfo.cmake file were not properly escaped, so when reading them back they could turn into lists, if they contained double quotes initially. This patch fixes this by using cmLocalGenerator::EscapeForCMake() to escape the variables properly. Alex | 26 March 2012, 19:45:27 UTC |
c652812 | Alex Neundorf | 20 March 2012, 21:50:44 UTC | make cmLocalGenerator::EscapeForCMake() static This way it can be used also if there is no cmLocalGenerator instance around Alex | 26 March 2012, 19:45:07 UTC |
58db6ac | KWSys Robot | 26 March 2012, 04:01:03 UTC | KWSys Nightly Date Stamp | 26 March 2012, 04:05:06 UTC |
6b5614f | Peter Collingbourne | 26 March 2012, 03:16:15 UTC | Ninja: Substitute <OBJECT> and <CMAKE_C_COMPILER> in depfile flags Patch by Amine Khaldi! Also, start using the -MT flag to set a target name for depfiles. This works around a bug observed in distcc, as explained in the comment. Based on a patch by Alexander Usov. | 26 March 2012, 03:46:12 UTC |
94c1dcf | KWSys Robot | 25 March 2012, 04:01:02 UTC | KWSys Nightly Date Stamp | 25 March 2012, 04:05:13 UTC |
c160f63 | KWSys Robot | 24 March 2012, 04:01:02 UTC | KWSys Nightly Date Stamp | 24 March 2012, 04:05:08 UTC |
9d6b7be | Brad King | 23 March 2012, 17:35:28 UTC | Merge topic 'fix-CTestUpdateHG-url' d0702f8 CTest.UpdateHG: Fix repo URL for leading slash | 23 March 2012, 17:35:28 UTC |
e38e6bd | KWSys Robot | 23 March 2012, 04:01:02 UTC | KWSys Nightly Date Stamp | 23 March 2012, 04:05:05 UTC |
d0702f8 | Brad King | 22 March 2012, 15:56:41 UTC | CTest.UpdateHG: Fix repo URL for leading slash Use "file:///..." instead of "file:////..." when the file system path starts in a slash. Commit 0916cc88 (CTest.UpdateHG: Fix repo URL for local filesystem, 2012-03-02) added a third slash after "file://" unconditionally. This worked for many file systems but not on Cygwin where "file:////cygdrive/..." looks like "file://" followed by a network file path "//cygdrive/...". Add the slash only if the file system path does not already start with one. | 22 March 2012, 15:57:38 UTC |
1df40fa | KWSys Robot | 22 March 2012, 04:01:03 UTC | KWSys Nightly Date Stamp | 22 March 2012, 04:05:05 UTC |
a407291 | David Cole | 21 March 2012, 17:28:09 UTC | Merge topic 'MinorFixForEcos' 1ab4b3e guard eCos.cmake against multiple inclusion (#12987) | 21 March 2012, 17:28:09 UTC |
44495fa | David Cole | 21 March 2012, 17:27:58 UTC | Merge topic 'UseRealPathWhenFindingEclipse' 00af40b Eclipse: fix #13036, make version detection work with symlinks | 21 March 2012, 17:27:58 UTC |
d6d221d | David Cole | 21 March 2012, 17:27:50 UTC | Merge topic 'fix-AllFindModules-version-check' a5ee628 Tests: Relax restrictions on version variable contents | 21 March 2012, 17:27:50 UTC |
5f5ce26 | David Cole | 21 March 2012, 17:27:30 UTC | Merge topic 'update-KWIML' 86c4c93 Merge branch 'upstream-kwiml' into update-KWIML 10272e6 KWIML: Avoid conflict with C++11 user-defined literals | 21 March 2012, 17:27:30 UTC |
f8a1024 | David Cole | 21 March 2012, 17:27:22 UTC | Merge topic 'findmpi_look_in_implicit_dirs' 2f9ad7c Fix FindMPI for the intel compiler on linux by looking in implict directories. | 21 March 2012, 17:27:22 UTC |
7e94e6b | David Cole | 21 March 2012, 17:27:10 UTC | Merge topic 'watcom-object-library' fb7348f Fix ObjectLibrary test on Watcom | 21 March 2012, 17:27:10 UTC |
a72893d | David Cole | 21 March 2012, 17:26:57 UTC | Merge topic 'vs10-object-items' b291d9e VS10: Fix external objects generated outside target (#13047) 328c0f6 Simplify cmVisualStudio10TargetGenerator source classification | 21 March 2012, 17:26:57 UTC |
349ea3f | David Cole | 21 March 2012, 17:26:46 UTC | Merge topic 'ImprovedCOMPONENTSSupportInFindPackage2' 6d100f9 find_package: Test rejection of required+optional components d81d83c add macro check_required_components() to configure_package_config_file() b15c0b4 FPHSA(): add HANDLE_COMPONENTS option 34108cd find_package: add documentation for OPTIONAL_COMPONENTS cdabde8 FPHSA(): add missing "]" to documentation f2e0a18 find_package: add OPTIONAL_COMPONENTS keyword | 21 March 2012, 17:26:46 UTC |
45b2702 | KWSys Robot | 21 March 2012, 04:01:03 UTC | KWSys Nightly Date Stamp | 21 March 2012, 04:05:05 UTC |
1ab4b3e | Alex Neundorf | 20 March 2012, 21:13:47 UTC | guard eCos.cmake against multiple inclusion (#12987) Alex | 20 March 2012, 21:13:47 UTC |
00af40b | Alex Neundorf | 20 March 2012, 21:06:38 UTC | Eclipse: fix #13036, make version detection work with symlinks This patch uses get_filename_component(REALPATH) so symlinks in the path to Eclipse are resolved, which makes the version detection work in such cases. Alex | 20 March 2012, 21:06:38 UTC |
a5ee628 | David Cole | 20 March 2012, 20:18:02 UTC | Tests: Relax restrictions on version variable contents Our only expectation of version number variables should be that they begin with a decimal digit for VERSION_LESS, VERSION_EQUAL and VERSION_GREATER comparison purposes. If people put extra blah blah after a version number like "1.2.3 (this is some super special extra information about our funky proprietary build of the official 1.2.3 release)" then we should be ok with that. So: now we have the following expectations for version number variable content for the purposes of the AllFindModules test: - it should start with a decimal digit (match "^[0-9]") - it should not be empty - it should not be VERSION_EQUAL 0 - it should not be NOT VERSION_GREATER 0 | 20 March 2012, 20:18:02 UTC |
86c4c93 | Brad King | 20 March 2012, 19:51:11 UTC | Merge branch 'upstream-kwiml' into update-KWIML | 20 March 2012, 19:51:11 UTC |
10272e6 | Brad King | 20 March 2012, 19:42:18 UTC | KWIML: Avoid conflict with C++11 user-defined literals Clang warns test/test_INT_format.h:28:26: warning: identifier after literal will be treated as a reserved user-defined literal suffix in C++11 [-Wc++11-compat-reserved-user-defined-literal] " expression [%"KWIML_INT_PRI##PRI"]," because the KWIML_... part is an identifier lexically immediately following a string literal. Add a space between the string literal and the identifier to avoid the C++11 user-defined literal syntax. | 20 March 2012, 19:49:49 UTC |
2f9ad7c | Bill Hoffman | 20 March 2012, 19:18:53 UTC | Fix FindMPI for the intel compiler on linux by looking in implict directories. Use the CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES to look for libraries that are in the -showme output from mpi<lang> programs. This is because some libraries reported by -showme are found there, and FindMPI will fail if they are not found. | 20 March 2012, 19:18:53 UTC |
fb7348f | Brad King | 20 March 2012, 19:06:16 UTC | Fix ObjectLibrary test on Watcom The Watcom compiler interprets "-DB" as option -db generate browsing information so define "A_DEF" and "B_DEF" instead of just "A" and "B". Skip CMAKE_SHARED_LIBRARY_C_FLAGS for Watcom because it is set to -bd build Dynamic link library which adds a DLL entry point to each object. | 20 March 2012, 19:09:57 UTC |
d69c2c5 | David Cole | 20 March 2012, 13:34:56 UTC | Merge topic 'ninja-generator' c337c7e Ninja: Fix <OBJECT_DIR> substitution | 20 March 2012, 13:34:56 UTC |
31c0bc0 | David Cole | 20 March 2012, 13:34:35 UTC | Merge topic 'object-library' 93d5509 Merge branch 'ninja-object-library' into object-library 821037c Merge branch 'xcode-object-library' into object-library eb24c99 Merge branch 'object-library' into xcode-object-library 63d1be8 Xcode: Honor $<TARGET_OBJECTS:...> source expressions 020ba38 Merge branch 'object-library' into xcode-object-library e8ea615 Build object library targets in Xcode 8045e17 Pre-compute object file names before Xcode generation 247a132 Allow txt files as ExtraSources in object library targets b063599 Add a default source group for object files. be01f3b Xcode: Re-factor some existing methods into "FromPath" variants 2693dbe Merge branch 'object-library' into ninja-object-library 51997cb Ninja: Honor $<TARGET_OBJECTS:...> source expressions 23ec258 Merge branch 'object-library' into ninja-object-library 61124de Build object library targets in Ninja f5b06cd Pre-compute object file names before Ninja generation a2514f1 Simplify cmNinjaTargetGenerator using cmGeneratorTarget ... | 20 March 2012, 13:34:35 UTC |
b06f7c0 | David Cole | 20 March 2012, 13:34:25 UTC | Merge topic 'fix-docs-typos' 5b8983e Fix some typos in the docs comments. | 20 March 2012, 13:34:25 UTC |
b291d9e | Brad King | 19 March 2012, 21:14:52 UTC | VS10: Fix external objects generated outside target (#13047) Commit 9a6ff950 (Fix for bug where VS2010 did not use .obj files, 2011-04-01) assumed that if an external object is GENERATED that it is the output of a custom command in the current target. If it is generated by another target then VS will not automatically include the external object in the current target. This bug was preserved by the refactoring in the parent commit. Instead use <None> for external objects generated by a custom command in the current target and <Object> for all other external objects. Update the ExternalOBJ test to cover this case. | 20 March 2012, 13:01:02 UTC |
f753374 | KWSys Robot | 20 March 2012, 04:01:07 UTC | KWSys Nightly Date Stamp | 20 March 2012, 04:05:07 UTC |
5b8983e | Stephen Kelly | 19 March 2012, 22:05:21 UTC | Fix some typos in the docs comments. | 19 March 2012, 22:05:21 UTC |
328c0f6 | Brad King | 19 March 2012, 15:25:21 UTC | Simplify cmVisualStudio10TargetGenerator source classification Combine WriteCLSources and WriteObjSources into a single method. Use the cmGeneratorTarget source classification to simplify tool selection for each source file. Extend the classification to handle .idl files. | 19 March 2012, 21:13:41 UTC |
f2b44c6 | Brad King | 19 March 2012, 18:42:03 UTC | Merge topic 'find_package_set_FOUND_VariableInConfigFile' 0cf8447 find_package: additional test for checking the error message 56ae3f9 find_package: add test for setting Foo_FOUND to FALSE in a Config file 16c0c73 find_package: allow <pkg>Config.cmake to set <pkg>_FOUND to FALSE | 19 March 2012, 18:42:03 UTC |
0e339f7 | Brad King | 19 March 2012, 18:42:00 UTC | Merge topic 'CPack-fixCPACK_MONOLITHIC_INSTALL-handling' 805c1b2 Handle CPACK_MONOLITHIC_INSTALL in some rare use cases. | 19 March 2012, 18:42:00 UTC |
1df15c6 | Brad King | 19 March 2012, 18:41:56 UTC | Merge topic 'CPack-fixSTGZpermission-bug13046' 4576f40 CPack STGZ put execute permission on all packages files (component case) | 19 March 2012, 18:41:56 UTC |
36a85b4 | Brad King | 19 March 2012, 18:41:51 UTC | Merge topic 'write-cache-atomically' 9eb8e4b Write CMakeCache.txt atomically (#13040) | 19 March 2012, 18:41:51 UTC |
bfc8d13 | Brad King | 19 March 2012, 18:41:43 UTC | Merge topic 'fix-12621-xcode43' 0f4dfa6 CPack: Use real path to PackageMaker to find its version file (#12621) 4693cf8 Xcode: Detect new default locations of Xcode 4.3 bits and pieces (#12621) | 19 March 2012, 18:41:43 UTC |
93d5509 | Brad King | 19 March 2012, 17:11:27 UTC | Merge branch 'ninja-object-library' into object-library * ninja-object-library: (37 commits) Ninja: Honor $<TARGET_OBJECTS:...> source expressions Build object library targets in Ninja Pre-compute object file names before Ninja generation Simplify cmNinjaTargetGenerator using cmGeneratorTarget Ninja: Avoid using 'this' in member initializers Ninja: Fix for PDB files with spaces in the path. Ninja: Constify use of cmCustomCommand Ninja: add /DEF: flag to linker call Ninja: Add a cache option CMAKE_ENABLE_NINJA to enable the ninja generator. Ninja: Add friend struct so it can access the private ConvertToNinjaPath. Ninja: add .def file support Ninja: ensure the output dir exists at compile time Ninja: Remove an unnecessary variable Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commands Ninja: Add a missed license header Ninja: CMake: Adapt Ninja generator for per-target include dirs Ninja: windows msvc: create for each target a .pdb file Ninja: Import library support for Windows Ninja: mark the Windows specific hacks with a comment only Ninja: disable unfinished Windows ninja support ... | 19 March 2012, 17:11:27 UTC |
821037c | Brad King | 19 March 2012, 17:11:22 UTC | Merge branch 'xcode-object-library' into object-library * xcode-object-library: Xcode: Honor $<TARGET_OBJECTS:...> source expressions Build object library targets in Xcode Pre-compute object file names before Xcode generation Allow txt files as ExtraSources in object library targets Add a default source group for object files. Xcode: Re-factor some existing methods into "FromPath" variants Xcode: Re-factor code into GetObjectsNormalDirectory method | 19 March 2012, 17:11:22 UTC |
eb24c99 | Brad King | 16 March 2012, 14:15:42 UTC | Merge branch 'object-library' into xcode-object-library | 19 March 2012, 15:53:41 UTC |
63d1be8 | David Cole | 16 March 2012, 14:14:33 UTC | Xcode: Honor $<TARGET_OBJECTS:...> source expressions Add objects from object libraries referenced using this syntax to the set of objects linked in a target. | 19 March 2012, 15:53:29 UTC |
020ba38 | Brad King | 16 March 2012, 14:13:14 UTC | Merge branch 'object-library' into xcode-object-library | 19 March 2012, 15:53:24 UTC |
e8ea615 | David Cole | 15 March 2012, 18:31:32 UTC | Build object library targets in Xcode Treat OBJECT libraries as STATIC libraries. The Xcode project file format provides no way to avoid running the libtool so hide the resulting .a away next to the object files as it should never be referenced. The object files will be left behind for reference by other targets later. | 19 March 2012, 15:53:04 UTC |
8045e17 | David Cole | 13 March 2012, 20:41:28 UTC | Pre-compute object file names before Xcode generation | 19 March 2012, 15:52:40 UTC |
6d100f9 | Brad King | 19 March 2012, 14:49:01 UTC | find_package: Test rejection of required+optional components | 19 March 2012, 14:53:36 UTC |
d81d83c | Alex Neundorf | 18 March 2012, 20:26:37 UTC | add macro check_required_components() to configure_package_config_file() As discussed on cmake-developers, this patch adds a macro check_required_components() to the file configured via configure_package_config_file(), so for proper handling of components in Config.cmake files users can simply call check_required_components(PackageName) and this will do the right thing. Alex | 19 March 2012, 14:53:36 UTC |
b15c0b4 | Alex Neundorf | 18 March 2012, 18:15:42 UTC | FPHSA(): add HANDLE_COMPONENTS option if the HANDLE_COMPONENTS is used, FPHSA() now also checks all required COMPONENTS, i.e. all elements from <name>_FIND_COMPONENTS for which <name>_FIND_REQUIRED_<comp> is true, and sets <name>_FOUND only to true if all have been found. As discussed on cmake-developers. Alex | 19 March 2012, 14:53:36 UTC |
34108cd | Alex Neundorf | 18 March 2012, 16:26:24 UTC | find_package: add documentation for OPTIONAL_COMPONENTS This patch adds documentation for OPTIONAL_COMPONENTS to cmFindPackage.cxx, and also extends Modules/readme.txt significantly with regard to how components should be handled. Alex | 19 March 2012, 14:53:36 UTC |
cdabde8 | Alex Neundorf | 18 March 2012, 15:38:56 UTC | FPHSA(): add missing "]" to documentation Alex | 19 March 2012, 14:53:36 UTC |
f2e0a18 | Alex Neundorf | 18 March 2012, 11:41:28 UTC | find_package: add OPTIONAL_COMPONENTS keyword Add an OPTIONAL_COMPONENTS keyword to find_package() so we can have a clear distinction between required and optional components. Don't allow a component to be both required and optional. Alex | 19 March 2012, 14:53:36 UTC |
c337c7e | Peter Kuemmel | 18 March 2012, 12:40:01 UTC | Ninja: Fix <OBJECT_DIR> substitution Don't forget the subdirectories. | 19 March 2012, 14:09:40 UTC |
572994b | Brad King | 19 March 2012, 13:29:06 UTC | Merge topic 'ninja-generator' 8485208 Ninja: shell escape $(CMAKE_SOURCE_DIR) and $(CMAKE_BINARY_DIR) df84767 Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test case 48eb7fc Ninja: Avoid using 'this' in member initializers bba37dd Ninja: Fix for PDB files with spaces in the path. ac800f4 Ninja: Constify use of cmCustomCommand 9a0d5a8 Ninja: add /DEF: flag to linker call d40eebd Ninja: Add a cache option CMAKE_ENABLE_NINJA to enable the ninja generator. 8c63433 Ninja: Add friend struct so it can access the private ConvertToNinjaPath. dbe3dce Ninja: add .def file support f1bb08f Ninja: ensure the output dir exists at compile time 7a6b5f4 Ninja: Remove an unnecessary variable 80ff210 Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commands d2731a3 Ninja: Add a missed license header eabc9b0 Ninja: CMake: Adapt Ninja generator for per-target include dirs bada88e Merge branch 'target-include-directories' into ninja-generator 54bd175 Ninja: windows msvc: create for each target a .pdb file ... | 19 March 2012, 13:29:06 UTC |
9987d95 | KWSys Robot | 19 March 2012, 04:01:02 UTC | KWSys Nightly Date Stamp | 19 March 2012, 04:05:07 UTC |
805c1b2 | Eric NOULARD | 18 March 2012, 19:21:35 UTC | Handle CPACK_MONOLITHIC_INSTALL in some rare use cases. For example, when CPACK_<GEN>_COMPONENT_INSTALL and CPACK_MONOLITHIC_INSTALL are both set. Previously, this combination of variable settings produced an error without any explanation. Now, in this case CPACK_MONOLITHIC_INSTALL wins without trouble. This is useful for when e.g. CPACK_ARCHIVE_COMPONENT_INSTALL is globally on and one wants MONOLITHIC install for STGZ (but not other generators). The same behavior may be obtained by re-setting CPACK_ARCHIVE_COMPONENT_INSTALL to 0 but in any case the 'both set' case should have been handled without error. | 18 March 2012, 19:21:35 UTC |
4576f40 | Eric NOULARD | 18 March 2012, 16:52:56 UTC | CPack STGZ put execute permission on all packages files (component case) | 18 March 2012, 16:52:56 UTC |
1bfe81e | KWSys Robot | 18 March 2012, 04:01:04 UTC | KWSys Nightly Date Stamp | 18 March 2012, 04:05:05 UTC |
8485208 | Peter Collingbourne | 17 March 2012, 20:55:09 UTC | Ninja: shell escape $(CMAKE_SOURCE_DIR) and $(CMAKE_BINARY_DIR) | 17 March 2012, 23:16:40 UTC |
df84767 | Peter Collingbourne | 17 March 2012, 20:49:36 UTC | Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test case | 17 March 2012, 23:16:40 UTC |
6330f67 | KWSys Robot | 17 March 2012, 04:01:03 UTC | KWSys Nightly Date Stamp | 17 March 2012, 04:05:07 UTC |
247a132 | David Cole | 14 March 2012, 21:36:31 UTC | Allow txt files as ExtraSources in object library targets Necessary for the Xcode generator, in which the CMakeLists.txt files are added as sources merely for convenient access, without any associated custom command. | 16 March 2012, 18:25:22 UTC |
b063599 | David Cole | 15 March 2012, 18:15:44 UTC | Add a default source group for object files. | 16 March 2012, 18:25:21 UTC |
be01f3b | David Cole | 15 March 2012, 16:05:31 UTC | Xcode: Re-factor some existing methods into "FromPath" variants ...to avoid depending on cmSourceFile instances. Prep work for supporting OBJECT_LIBRARY in the Xcode generator. | 16 March 2012, 18:23:13 UTC |
2693dbe | Brad King | 16 March 2012, 14:20:20 UTC | Merge branch 'object-library' into ninja-object-library | 16 March 2012, 14:20:20 UTC |
51997cb | Brad King | 15 March 2012, 12:56:40 UTC | Ninja: Honor $<TARGET_OBJECTS:...> source expressions Add objects from object libraries referenced using this syntax to the set of objects linked in a target. | 16 March 2012, 14:19:44 UTC |
23ec258 | Brad King | 15 March 2012, 12:55:40 UTC | Merge branch 'object-library' into ninja-object-library | 16 March 2012, 14:19:10 UTC |
61124de | Brad King | 13 March 2012, 14:05:07 UTC | Build object library targets in Ninja Treat OBJECT libraries as STATIC libraries but leave out the archive step. The object files will be left behind for reference by other targets later. | 16 March 2012, 14:18:36 UTC |
f5b06cd | Brad King | 13 March 2012, 13:30:23 UTC | Pre-compute object file names before Ninja generation Implement cmGlobalGenerator::ComputeTargetObjects in the Ninja generator to pre-compute all the object file names. Use the results during generation instead of re-computing it later. | 16 March 2012, 14:18:35 UTC |
a2514f1 | Brad King | 13 March 2012, 13:24:54 UTC | Simplify cmNinjaTargetGenerator using cmGeneratorTarget Replace the classification of source files in this generator using that computed by cmGeneratorTarget. | 16 March 2012, 14:18:35 UTC |
c68cc06 | Brad King | 13 March 2012, 13:22:24 UTC | Merge branch 'object-library' into ninja-object-library | 16 March 2012, 14:18:01 UTC |
48eb7fc | Brad King | 16 March 2012, 13:58:32 UTC | Ninja: Avoid using 'this' in member initializers VS complains warning C4355: 'this' : used in base member initializer list so initialize the member in the constructor body instead. | 16 March 2012, 14:16:55 UTC |
bba37dd | Bill Hoffman | 13 March 2012, 21:01:25 UTC | Ninja: Fix for PDB files with spaces in the path. This calls ConvertToOutputFormat on the PDB paths for pdb file paths used in both library creation and the building of object files. | 16 March 2012, 14:16:45 UTC |
cd146c6 | Brad King | 15 March 2012, 12:53:27 UTC | Document OBJECT library type in add_library command Describe the OBJECT library signature of add_library and the $<TARGET_OBJECTS:...> expressions needed to use object libraries. Also document the what is not allowed for object library targets. | 16 March 2012, 14:12:31 UTC |
c324250 | Brad King | 14 March 2012, 13:24:26 UTC | Test OBJECT library use without other sources Reference OBJECT libraries for inclusion in targets that have no other sources to verify that the linker language propagates correctly from the object libraries. Test with a STATIC library, a SHARED library, and an EXECUTABLE target. Use the static and shared libraries each in executables that end up using the object library symbols. In VS 6, 7, and 7.1 add a dummy object file to convince the IDE to build the targets without sources. In Xcode add a dummy source file to convince it to build targets without sources. | 16 March 2012, 14:12:30 UTC |
db7ef82 | Brad King | 12 March 2012, 19:02:42 UTC | Test OBJECT library language propagation Teach the RunCMake.ObjectLibrary test to verify that languages used in an OBJECT library are propagated to targets that use it so that the languages can be included in link analysis. | 16 March 2012, 14:12:30 UTC |
5683101 | Brad King | 12 March 2012, 18:51:30 UTC | Test OBJECT library failure cases Add "RunCMake.ObjectLibrary" test to verify that unsupported use cases are rejected with errors: * An OBJECT library may not reference another object library * An OBJECT library may not be referenced in target_link_libraries * An OBJECT library may not contain non-compiling sources * An OBJECT library may not have pre/post build/link commands * An OBJECT library may not be installed, exported, or imported Also verify that invalid $<TARGET_OBJECTS:...> expressions are diagnosed. | 16 March 2012, 14:12:30 UTC |
69d3d18 | Brad King | 12 March 2012, 18:41:34 UTC | Test OBJECT library success cases Add "ObjectLibrary" test to build and use OBJECT libraries. Build multiple object libraries in separate directories with different flags. Use a custom command to generate a source file in one OBJECT library. Reference the OBJECT libraries for inclusion in a STATIC library, a SHARED library, and an EXECUTABLE target. Use the static and shared libraries each in executables that end up using the object library symbols. Verify that object library symbols are exported from the shared library. | 16 March 2012, 14:12:30 UTC |
c403f27 | Brad King | 12 March 2012, 18:40:58 UTC | Add $<TARGET_OBJECTS:...> expression to use an object library For now do not allow an OBJECT library to reference other object libraries. Teach cmTarget::ComputeLinkImplementation to include the languages of object libraries used by a target. | 16 March 2012, 14:12:15 UTC |
34e4985 | David Cole | 14 March 2012, 21:46:56 UTC | Xcode: Re-factor code into GetObjectsNormalDirectory method ...in preparation for calling it from more than one location. Required to support OBJECT_LIBRARY targets in Xcode. | 16 March 2012, 14:05:46 UTC |
b4f949a | KWSys Robot | 16 March 2012, 04:01:04 UTC | KWSys Nightly Date Stamp | 16 March 2012, 04:05:07 UTC |
acc3862 | KWSys Robot | 15 March 2012, 04:01:02 UTC | KWSys Nightly Date Stamp | 15 March 2012, 04:05:05 UTC |
9eb8e4b | Brad King | 14 March 2012, 12:16:05 UTC | Write CMakeCache.txt atomically (#13040) The write code introduced by commit 0b0d1b1d (add CMakeCache.txt support, 2001-02-22) uses a temporary file but does not replace the original atomically. Use cmGeneratedFileStream to do both copy-if-different and atomic replacement. | 14 March 2012, 12:18:15 UTC |
50fe2c6 | KWSys Robot | 14 March 2012, 04:01:03 UTC | KWSys Nightly Date Stamp | 14 March 2012, 04:05:08 UTC |
0cf8447 | Alex Neundorf | 13 March 2012, 20:19:56 UTC | find_package: additional test for checking the error message This patch adds a test which checks the error message, which is produced in the case that a Config file has set Foo_FOUND to FALSE by itself. Alex | 13 March 2012, 20:56:52 UTC |
56ae3f9 | Alex Neundorf | 10 March 2012, 11:18:58 UTC | find_package: add test for setting Foo_FOUND to FALSE in a Config file Alex | 13 March 2012, 20:56:52 UTC |
16c0c73 | Alex Neundorf | 10 March 2012, 10:21:05 UTC | find_package: allow <pkg>Config.cmake to set <pkg>_FOUND to FALSE Before, find_package in Config mode always set Foo_FOUND to true if the Config file has been found and could be executed. If the Config file itself detected some problem, like a missing dependency, it did not have a way to signal to the outside that the package is not working. With this patch, if a Config file sets Foo_FOUND to FALSE, this is taken into account and not overridden. Alex | 13 March 2012, 20:56:23 UTC |
3a53005 | Brad King | 12 March 2012, 14:55:07 UTC | Build object library targets in VS Treat OBJECT libraries as STATIC libraries. The VS project file format provides no way to avoid running the librarian so hide the resulting .lib away next to the object files as it should never be referenced. The object files will be left behind for reference by other targets later. | 13 March 2012, 18:38:02 UTC |
3aa741a | Brad King | 12 March 2012, 14:54:37 UTC | Build object library targets in Makefiles Treat OBJECT libraries as STATIC libraries but leave out the archive step. The object files will be left behind for reference by other targets later. | 13 March 2012, 18:38:02 UTC |
b87d7a6 | Brad King | 12 March 2012, 14:47:40 UTC | Add OBJECT_LIBRARY target type This library type can compile sources to object files but does not link or archive them. It will be useful to reference from executable and normal library targets for direct inclusion of object files in them. Diagnose and reject the following as errors: * An OBJECT library may not be referenced in target_link_libraries. * An OBJECT library may contain only compiling sources and supporting headers and custom commands. Other source types that are not normally ignored are not allowed. * An OBJECT library may not have PRE_BUILD, PRE_LINK, or POST_BUILD commands. * An OBJECT library may not be installed, exported, or imported. Some of these cases may be supported in the future but are not for now. Teach the VS generator that OBJECT_LIBRARY targets are "linkable" just like STATIC_LIBRARY targets for the LinkLibraryDependencies behavior. | 13 March 2012, 18:37:32 UTC |
0f4dfa6 | David Cole | 13 March 2012, 18:01:19 UTC | CPack: Use real path to PackageMaker to find its version file (#12621) On machines where a usr/bin/packagemaker symlink is found, we were unable to find the version.plist file relative to the symlink. Resolve the symlink first, so we can find it relative to the real PackageMaker. | 13 March 2012, 18:01:19 UTC |
e8f1d7f | Brad King | 13 March 2012, 15:54:58 UTC | Merge topic 'doc-Fortran-mod-dir-issue-13034' 54604ee Document Fortran_MODULE_DIRECTORY as OUTPUT only (#13034) | 13 March 2012, 15:54:58 UTC |
d4c0aab | Brad King | 13 March 2012, 15:54:47 UTC | Merge topic 'test-RunCMake' 55b2aa8 Use generalized RunCMake test infrastrucure for build_command test eb33000 Use generalized RunCMake test infrastrucure for find_package test 42a81e7 Add stronger infrastructure for CMake-only tests | 13 March 2012, 15:54:47 UTC |
6452aea | Brad King | 13 March 2012, 15:54:33 UTC | Merge topic 'ExactVersionModeForVersionFile' e390f87 WriteBasicConfigVersionFile: add test for ExactVersion mode 5d18223 write_basic_package_version_file: add ExactVersion mode 1c69cd8 write_basic_package_version_file(): improve documentation | 13 March 2012, 15:54:33 UTC |
15e96b0 | Brad King | 13 March 2012, 15:54:21 UTC | Merge topic 'update-KWIML' 289e5e6 Merge branch 'upstream-kwiml' into update-KWIML f94ae0e KWIML: Make test_INT robust to #define-d int#_t and INT#_C | 13 March 2012, 15:54:21 UTC |
8872015 | Brad King | 13 March 2012, 15:54:03 UTC | Merge topic 'fix-cpack-hdiutil-retry-loops' 05a76d5 CPack: Fix retry logic when calls to hdiutil fail | 13 March 2012, 15:54:03 UTC |
b964240 | Brad King | 13 March 2012, 15:53:38 UTC | Merge topic 'ctest-match-valgrind' ea4416c CTest: Match valgrind errors with "points to" (#12922) | 13 March 2012, 15:53:38 UTC |