Explicitly enable OBJECT library "target".
authorAxel Naumann <Axel.Naumann@cern.ch>
Tue, 12 Jan 2016 07:44:58 +0000 (07:44 +0000)
committerAxel Naumann <Axel.Naumann@cern.ch>
Tue, 12 Jan 2016 07:44:58 +0000 (07:44 +0000)
commit98079ab3f143d6eef0ad727e68d0dafb89342ba8
tree278f0d8c84e9ca0abb4f3dafec1d7f4559b2da7e
parent08529ecce9f3d086c66347c9ea627f5b9cb32e08
Explicitly enable OBJECT library "target".

With this, one can build a lib from the objects of other libs:
set(SOURCES
  $<TARGET_OBJECTS:obj.clingInterpreter>
  $<TARGET_OBJECTS:obj.clingMetaProcessor>
  $<TARGET_OBJECTS:obj.clingUtils>
  )

Reviewed by Chris Bieneman - thanks!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257459 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake