[CMake] Beginner's Question: Organizing Projects

2010-10-27 Thread Dominik Gabi
Hi, after reading the tutorial I've decided to make my own project using cmake but I'm having some troubles here. I'd like to organize my project as follows: Pixels/ CMakeLists.txt (0) Pixels.cpp geometry/ CMakeLists.txt (1) Vector.h Vector.cpp ... ui/ CMakeLists.txt (2) M

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-27 Thread Marcel Loose
On Wed, 2010-10-27 at 14:02 +0200, Dominik Gabi wrote: > Hi, > > after reading the tutorial I've decided to make my own project using > cmake but I'm having some troubles here. I'd like to organize my project > as follows: > > Pixels/ > CMakeLists.txt (0) > Pixels.cpp > geometry/ > CMak

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-27 Thread Dominik Gabi
Thanks. The way I understand this is that now instead of include_directories(${GTKMM_INCLUDE_DIRS}) i would write something like include_directories(${GTKMM_INCLUDE_DIRS}) # and at the end of the file set(INCLUDE_DIRECTORIES ${INCLUDE_DIRECTORIES} PARENT_SCOPE) ? I'd do the same with the LINK

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-27 Thread Rolf Eike Beer
> Thanks. The way I understand this is that now instead of > > include_directories(${GTKMM_INCLUDE_DIRS}) > > i would write something like > > include_directories(${GTKMM_INCLUDE_DIRS}) > # and at the end of the file > set(INCLUDE_DIRECTORIES ${INCLUDE_DIRECTORIES} PARENT_SCOPE) > > ? I'd do the sa

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-28 Thread Dominik Gabi
On Wed, 2010-10-27 at 10:54 -0500, Ryan Pavlik wrote: > On Wed, Oct 27, 2010 at 9:04 AM, Rolf Eike Beer wrote: > >> Thanks. The way I understand this is that now instead of > >> > >> include_directories(${GTKMM_INCLUDE_DIRS}) > >> > >> i would write something like > >> > >> include_directories(${G

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-28 Thread John Drescher
On Thu, Oct 28, 2010 at 8:23 AM, Dominik Gabi wrote: > On Wed, 2010-10-27 at 10:54 -0500, Ryan Pavlik wrote: >> On Wed, Oct 27, 2010 at 9:04 AM, Rolf Eike Beer wrote: >> >> Thanks. The way I understand this is that now instead of >> >> >> >> include_directories(${GTKMM_INCLUDE_DIRS}) >> >> >> >>

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-28 Thread John Drescher
On Thu, Oct 28, 2010 at 8:29 AM, John Drescher wrote: > On Thu, Oct 28, 2010 at 8:23 AM, Dominik Gabi wrote: >> On Wed, 2010-10-27 at 10:54 -0500, Ryan Pavlik wrote: >>> On Wed, Oct 27, 2010 at 9:04 AM, Rolf Eike Beer wrote: >>> >> Thanks. The way I understand this is that now instead of >>> >>

Re: [CMake] Beginner's Question: Organizing Projects

2010-10-28 Thread Aaron_Wright
o: Dominik Gabi Cc: cmake@cmake.org Date: 10/28/2010 05:31 AM Subject: Re: [CMake] Beginner's Question: Organizing Projects Sent by: cmake-boun...@cmake.org On Thu, Oct 28, 2010 at 8:29 AM, John Drescher wrote: > On Thu, Oct 28, 2010 at 8:23 AM, Dominik Gabi wrote: >> On Wed, 2