Re: [CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread Jon Shuler
Is there a recommended way to organize our cmake files? Thanks, Jon From: David Cole To: Jon Shuler Cc: cmake@cmake.org Sent: Thursday, December 18, 2008 11:03:33 AM Subject: Re: [CMake] Multiple CMakeLists.txt in the same directory Well, if you want to

Re: [CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread David Cole
ember 18, 2008 10:29:40 AM > *Subject:* Re: [CMake] Multiple CMakeLists.txt in the same directory > > Consider a CMakeLists.txt file as if it were one of your project files. You > will use the CMakeLists.txt file to generate project files after converting > to cmake. You should be abl

Re: [CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread Patrick Spendrin
Jon Shuler schrieb: Right now we have a build\win32 directory that contains all the projects files. I was looking at creating a CMakeLists.txt for each project and putting them in the same directory. I rather have separate CMakeLists.txt for each project instead of one big file. How would t

Re: [CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread Jon Shuler
what you explained? Jon From: David Cole To: Jon Shuler Cc: cmake@cmake.org Sent: Thursday, December 18, 2008 10:29:40 AM Subject: Re: [CMake] Multiple CMakeLists.txt in the same directory Consider a CMakeLists.txt file as if it were one of your project files

Re: [CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread David Cole
Consider a CMakeLists.txt file as if it were one of your project files. You will use the CMakeLists.txt file to generate project files after converting to cmake. You should be able to write one that references your source, just as you reference your source from your existing VS project files. The

Re: [CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread Tyler Roscoe
On Thu, Dec 18, 2008 at 08:12:46AM -0800, Jon Shuler wrote: > I am looking at converting our build system to cmake and have found an issue. > We keep all the project files (VS 6, VS 2003 and VS 2008) in one common > directory that is separate from the source tree. Based on what I read it > loo

[CMake] Multiple CMakeLists.txt in the same directory

2008-12-18 Thread Jon Shuler
I am looking at converting our build system to cmake and have found an issue. We keep all the project files (VS 6, VS 2003 and VS 2008) in one common directory that is separate from the source tree. Based on what I read it looks like CMake expects the CMakeLists.txt to exist in the same direct