Re: [cmake-developers] Requesting Advice: Installing object files

2017-04-26 Thread Brad King
On 01/18/2017 03:14 PM, Ben Boeckel wrote: > Installing the target can install the objects. [snip] On 01/18/2017 02:47 PM, Chris Bieneman wrote: > If this allowed TARGET_OBJECTS to be used in the install(FILES ...) > command, then we could create an object library and a custom install > rule for th

Re: [cmake-developers] Requesting Advice: Installing object files

2017-01-20 Thread Brad King
On 01/18/2017 03:14 PM, Ben Boeckel wrote: > So I talked with Rob about this a bit and the INTERFACE bit is actually > the *exporting* of the target. Installing the target can install the > objects. I think the way this could work is that if it is installed, the > objects go and if they are exporte

Re: [cmake-developers] Requesting Advice: Installing object files

2017-01-18 Thread Ben Boeckel
On Wed, Jan 18, 2017 at 11:47:42 -0800, Chris Bieneman wrote: > On Jan 18, 2017, at 5:58 AM, Ben Boeckel wrote: > > Plus our plan for installing OBJECT libraries was to install them as > > INTERFACE libraries, leaving the objects themselves behind. The idea is > > to allow object libraries into ta

Re: [cmake-developers] Requesting Advice: Installing object files

2017-01-18 Thread Chris Bieneman
> On Jan 18, 2017, at 5:58 AM, Ben Boeckel wrote: > > On Wed, Jan 18, 2017 at 10:14:26 +0100, Nils Gladitz wrote: >> On 17.01.2017 23:25, Chris Bieneman wrote: >>> Hello CMake-developers! >>> >>> In one of the LLVM sub-projects we have a problem where we need to >>> install object files, which

Re: [cmake-developers] Requesting Advice: Installing object files

2017-01-18 Thread Ben Boeckel
On Wed, Jan 18, 2017 at 10:14:26 +0100, Nils Gladitz wrote: > On 17.01.2017 23:25, Chris Bieneman wrote: > > Hello CMake-developers! > > > > In one of the LLVM sub-projects we have a problem where we need to > > install object files, which doesn't seem like a particularly easy > > task. I'm curio

Re: [cmake-developers] Requesting Advice: Installing object files

2017-01-18 Thread Nils Gladitz
On 17.01.2017 23:25, Chris Bieneman wrote: Hello CMake-developers! In one of the LLVM sub-projects we have a problem where we need to install object files, which doesn't seem like a particularly easy task. I'm curious if anyone has any advice on how to approach this problem. The patch is cu

[cmake-developers] Requesting Advice: Installing object files

2017-01-17 Thread Chris Bieneman
Hello CMake-developers! In one of the LLVM sub-projects we have a problem where we need to install object files, which doesn't seem like a particularly easy task. I'm curious if anyone has any advice on how to approach this problem. The patch is currently being reviewed here: https://reviews.ll