[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1376-gc78fd21

Brad King brad.king at kitware.com
Fri Jan 4 09:41:03 EST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  c78fd215938b0744667631a35fea0835b3c72d0b (commit)
       via  51988a4f91c6c6a4b91eedfb5010fdbc57b71891 (commit)
      from  9deb8e8d68354b99b088c53af860cc6f5a78555b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c78fd215938b0744667631a35fea0835b3c72d0b
commit c78fd215938b0744667631a35fea0835b3c72d0b
Merge: 9deb8e8 51988a4
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Jan 4 09:41:01 2013 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri Jan 4 09:41:01 2013 -0500

    Merge topic 'doc-Xcode-obj-lib-workaround' into next
    
    51988a4 add_library: Document object library portability suggestion


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=51988a4f91c6c6a4b91eedfb5010fdbc57b71891
commit 51988a4f91c6c6a4b91eedfb5010fdbc57b71891
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Fri Jan 4 09:38:22 2013 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Fri Jan 4 09:38:22 2013 -0500

    add_library: Document object library portability suggestion
    
    Xcode and VS <= 7.1 will not build targets that have no source files
    besides $<TARGET_OBJECTS:...>.  Suggest in the documentation that
    projects always add at least one real source file.

diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h
index c144565..e5f27cb 100644
--- a/Source/cmAddLibraryCommand.h
+++ b/Source/cmAddLibraryCommand.h
@@ -134,6 +134,10 @@ public:
       "They may contain custom commands generating such sources, but not "
       "PRE_BUILD, PRE_LINK, or POST_BUILD commands.  "
       "Object libraries cannot be imported, exported, installed, or linked."
+      "  "
+      "Some native build systems may not like targets that have only "
+      "object files, so consider adding at least one real source file "
+      "to any target that references $<TARGET_OBJECTS:objlib>."
       ;
     }
 

-----------------------------------------------------------------------

Summary of changes:
 Source/cmAddLibraryCommand.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list