diff options
author | Brad King <brad.king@kitware.com> | 2013-01-07 19:19:57 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-01-07 19:19:57 (GMT) |
commit | bb68d60571637edf481df8411999d4a399499f36 (patch) | |
tree | 67e2c9e441b6ff1e11d81bbfd97d5d07b5b15e8f /Source | |
parent | 9cbc637d78a2ee9c30565bc99e616c892934af05 (diff) | |
parent | 51988a4f91c6c6a4b91eedfb5010fdbc57b71891 (diff) | |
download | CMake-bb68d60571637edf481df8411999d4a399499f36.zip CMake-bb68d60571637edf481df8411999d4a399499f36.tar.gz CMake-bb68d60571637edf481df8411999d4a399499f36.tar.bz2 |
Merge topic 'doc-Xcode-obj-lib-workaround'
51988a4 add_library: Document object library portability suggestion
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmAddLibraryCommand.h | 4 |
1 files changed, 4 insertions, 0 deletions
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>." ; } |