Re: [CMake] Question regarding project structure

2010-09-17 Thread David Aldrich
Hi Michael > ADD_EXECUTABLE(exe "") Thanks, that worked nicely. David ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ

Re: [CMake] Question regarding project structure

2010-09-16 Thread Michael Hertling
On 09/16/2010 05:33 PM, Michael Wild wrote: > > On 16. Sep, 2010, at 17:13 , David Aldrich wrote: > >> Hi David >> >>> Something like this should work: >> >>> cmake_minimum_required(VERSION 2.8) >>> project(MyExe) >> >>> add_subdirectory(../Kernel Kernel) >>> add_subdirectory(../DynLibs DynLibs)

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Aldrich
Hi Michael and David > True, but some people hate that; We've had this discussion already on this > list where somebody seemed to be honestly offended by the mere notion of > an empty dummy file. I think I can tolerate it ;-) Thanks for your help. David ___

Re: [CMake] Question regarding project structure

2010-09-16 Thread Michael Wild
On 16. Sep, 2010, at 17:35 , David Cole wrote: > On Thu, Sep 16, 2010 at 11:33 AM, Michael Wild wrote: > >> >> On 16. Sep, 2010, at 17:13 , David Aldrich wrote: >> >>> Hi David >>> Something like this should work: >>> cmake_minimum_required(VERSION 2.8) project(MyExe) >>> >>

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Cole
On Thu, Sep 16, 2010 at 11:33 AM, Michael Wild wrote: > > On 16. Sep, 2010, at 17:13 , David Aldrich wrote: > > > Hi David > > > >> Something like this should work: > > > >> cmake_minimum_required(VERSION 2.8) > >> project(MyExe) > > > >> add_subdirectory(../Kernel Kernel) > >> add_subdirectory(.

Re: [CMake] Question regarding project structure

2010-09-16 Thread Michael Wild
On 16. Sep, 2010, at 17:13 , David Aldrich wrote: > Hi David > >> Something like this should work: > >> cmake_minimum_required(VERSION 2.8) >> project(MyExe) > >> add_subdirectory(../Kernel Kernel) >> add_subdirectory(../DynLibs DynLibs) > >> add_executable(MyExe exe.cxx) >> target_link_libra

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Cole
On Thu, Sep 16, 2010 at 11:13 AM, David Aldrich wrote: > Hi David > > > Something like this should work: > > > cmake_minimum_required(VERSION 2.8) > > project(MyExe) > > > add_subdirectory(../Kernel Kernel) > > add_subdirectory(../DynLibs DynLibs) > > > add_executable(MyExe exe.cxx) > > target_lin

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Aldrich
Hi David > Something like this should work: > cmake_minimum_required(VERSION 2.8) > project(MyExe) > add_subdirectory(../Kernel Kernel) > add_subdirectory(../DynLibs DynLibs) > add_executable(MyExe exe.cxx) > target_link_libraries(MyExe Kernel) I have a problem with add_executable(). Our Kerne

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Aldrich
Thanks Michael David > -Original Message- > From: Michael Wild [mailto:them...@gmail.com] > Sent: 16 September 2010 12:21 > To: David Aldrich > Cc: David Cole; cmake@cmake.org > Subject: Re: [CMake] Question regarding project structure > > > On 16. Sep, 201

Re: [CMake] Question regarding project structure

2010-09-16 Thread Michael Wild
t; From: David Cole [mailto:david.c...@kitware.com] > Sent: 16 September 2010 11:58 > To: David Aldrich > Cc: cmake@cmake.org > Subject: Re: [CMake] Question regarding project structure > > On Thu, Sep 16, 2010 at 6:45 AM, David Aldrich > mailto:david.aldr...@eu.nec.com>&

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Aldrich
...@kitware.com] Sent: 16 September 2010 11:58 To: David Aldrich Cc: cmake@cmake.org Subject: Re: [CMake] Question regarding project structure On Thu, Sep 16, 2010 at 6:45 AM, David Aldrich mailto:david.aldr...@eu.nec.com>> wrote: Hi I have now successfully configured CMakeLists files to create some

Re: [CMake] Question regarding project structure

2010-09-16 Thread David Cole
On Thu, Sep 16, 2010 at 6:45 AM, David Aldrich wrote: > Hi > > I have now successfully configured CMakeLists files to create some of our > static and dynamic libraries using CMake. I would now like some advice on > how to configure these separate build files as a single project. > > Here's what o

[CMake] Question regarding project structure

2010-09-16 Thread David Aldrich
Hi I have now successfully configured CMakeLists files to create some of our static and dynamic libraries using CMake. I would now like some advice on how to configure these separate build files as a single project. Here's what our current folder structure is like: Trunk --- Kernel <