Re: [CMake] Re: Sharing code between projects

2007-08-28 Thread kitts
On Tuesday 28 Aug 2007 9:10:47 pm Matthew Woehlke wrote: > The way I did this was to use the somewhat dubious solution: > > IF(PROJECT STREQUALS FOO) >    ADD_DIRECTORY(foo) > ELSEIF(PROJECT STREQUAL BAR) >    ADD_DIRECTORY(bar) > ELSE(PROJECT STREQUALS FOO) >    MESSAGE(FATAL_ERROR "You didn't tel

[CMake] Re: Sharing code between projects

2007-08-28 Thread Matthew Woehlke
kitts wrote: Anyway, I have a new set of projects and my current problem is that i have some code that i share between projects. Once source can be shared not binaries. Code is organized as; src/common src/project1 src/project2 The CMakeLists.tst files are located inside for each project whic

Re: [CMake] Re: Sharing code between projects

2007-08-26 Thread kitts
On Saturday 25 Aug 2007 12:33:02 am kitts wrote: > On Friday 24 Aug 2007 11:43:12 pm kitts wrote: > > On Friday 24 Aug 2007 9:41:26 pm James Bigler wrote: > > > >> Code is organized as; > > > >> src/common > > > >> src/project1 > > > >> src/project2 > > > >> > > > >> The CMakeLists.tst files are lo

Re: [CMake] Re: Sharing code between projects

2007-08-24 Thread kitts
On Friday 24 Aug 2007 11:43:12 pm kitts wrote: > On Friday 24 Aug 2007 9:41:26 pm James Bigler wrote: > > >> Code is organized as; > > >> src/common > > >> src/project1 > > >> src/project2 > > >> > > >> The CMakeLists.tst files are located inside for each project which > > >> sets the right compile

Re: [CMake] Re: Sharing code between projects

2007-08-24 Thread kitts
On Friday 24 Aug 2007 9:41:26 pm James Bigler wrote: > >> Code is organized as; > >> src/common > >> src/project1 > >> src/project2 > >> > >> The CMakeLists.tst files are located inside for each project which sets > >> the right compiler and sources to be built. Now i want common to be > >> include

Re: [CMake] Re: Sharing code between projects

2007-08-24 Thread Mike Jackson
-- Mike Jackson Senior Research Engineer Innovative Management & Technology Services On Aug 24, 2007, at 10:48 AM, kitts wrote: On Thursday 23 Aug 2007 3:53:41 pm kitts wrote: Anyway, I have a new set of projects and my current problem is that i have some code that i share between proj

Re: [CMake] Re: Sharing code between projects

2007-08-24 Thread James Bigler
kitts wrote: On Thursday 23 Aug 2007 3:53:41 pm kitts wrote: Anyway, I have a new set of projects and my current problem is that i have some code that i share between projects. Once source can be shared not binaries. Code is organized as; src/common src/project1 src/project2 The CMakeLists.tst

Re: [CMake] Re: Sharing code between projects

2007-08-24 Thread Simon
On 24/08/07, kitts <[EMAIL PROTECTED]> wrote: > On Thursday 23 Aug 2007 3:53:41 pm kitts wrote: > > Anyway, I have a new set of projects and my current problem is that i have > > some code that i share between projects. Once source can be shared not > > binaries. > > > > Code is organized as; > > s

[CMake] Re: Sharing code between projects

2007-08-24 Thread kitts
On Thursday 23 Aug 2007 3:53:41 pm kitts wrote: > Anyway, I have a new set of projects and my current problem is that i have > some code that i share between projects. Once source can be shared not > binaries. > > Code is organized as; > src/common > src/project1 > src/project2 > > The CMakeLists.t