Re: [CMake] Creating a library from subdirectories

2014-11-28 Thread Chris Johnson
Thanks to all who have replied for your efforts in trying to help me. My apologies for any lack of clarity in describing my problem. With the various information and advice you provided, I have been able to get my CMake configuration working. Thanks again! ..chris On Wed, Nov 26, 2014 at 3:30

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread Stephen Kelly
Chris Johnson wrote: > * I do not want to use the add_library(component1 OBJECT > ${component1_sources}) and add_library(toplevel > $ ... ) syntax if it can be avoided. Is the constraint that you want a top-level something like # All components: set(components component1 component2) fore

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread J Decker
nson [cxjohn...@gmail.com] > Sent: Wednesday, November 26, 2014 8:45 PM > To: Mueller-Roemer, Johannes Sebastian > Cc: cmake@cmake.org > Subject: Re: [CMake] Creating a library from subdirectories > > I know that one cannot link static libraries together; they're just archives o

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread Mueller-Roemer, Johannes Sebastian
that CMake knows that those have to be linked as well. From: Chris Johnson [cxjohn...@gmail.com] Sent: Wednesday, November 26, 2014 8:45 PM To: Mueller-Roemer, Johannes Sebastian Cc: cmake@cmake.org Subject: Re: [CMake] Creating a library from subdirectories I

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread Chris Johnson
ax +49 6151 155-139 > > johannes.mueller-roe...@igd.fraunhofer.de | www.igd.fraunhofer.de > > > > *From:* Mueller-Roemer, Johannes Sebastian > *Sent:* Wednesday, November 26, 2014 13:50 > *To:* 'Chris Johnson'; cmake@cmake.org > *Subject:* RE: [CMake] Creating a libr

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread Mueller-Roemer, Johannes Sebastian
-Roemer, Johannes Sebastian Sent: Wednesday, November 26, 2014 13:50 To: 'Chris Johnson'; cmake@cmake.org Subject: RE: [CMake] Creating a library from subdirectories In the example on that site an OBJECT library is created (the output consists of multiple .obj files), you used STATIC librari

Re: [CMake] Creating a library from subdirectories

2014-11-26 Thread Mueller-Roemer, Johannes Sebastian
, 2014 01:36 To: cmake@cmake.org Subject: [CMake] Creating a library from subdirectories This CMake wiki page (http://www.cmake.org/Wiki/CMake/Tutorials/Object_Library) claims one can create a library from subdirectories containing libraries, which is exactly what I want to do. However, it doesn&#

[CMake] Creating a library from subdirectories

2014-11-25 Thread Chris Johnson
This CMake wiki page ( http://www.cmake.org/Wiki/CMake/Tutorials/Object_Library) claims one can create a library from subdirectories containing libraries, which is exactly what I want to do. However, it doesn't seem to work. Here's my SSCCE ( http://sscce.org) "toy" example file structure: . |--