Merge topic 'doc-Xcode-obj-lib-workaround'

51988a4 add_library: Document object library portability suggestion
This commit is contained in:
Brad King 2013-01-07 14:19:57 -05:00 committed by CMake Topic Stage
commit bb68d60571
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@ public:
"They may contain custom commands generating such sources, but not " "They may contain custom commands generating such sources, but not "
"PRE_BUILD, PRE_LINK, or POST_BUILD commands. " "PRE_BUILD, PRE_LINK, or POST_BUILD commands. "
"Object libraries cannot be imported, exported, installed, or linked." "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>."
; ;
} }