Re: [CMake] ADD_CUSTOM_COMMAND and how to include generated files from other directories

2008-02-17 Thread Mike Jackson
Lets assume for a second that your layout is something like: Project src -sub1 --CMakeLists.txt --sub1.cpp --sub1.ui -sub2 --CMakeLists.txt --sub2.cpp What you would want quite possible is a top level CMakeLists.txt file Like this: PROJECT (MyGreatProject) S

Re: [CMake] ADD_CUSTOM_COMMAND and how to include generated files from other directories

2008-02-17 Thread blinkeye
On 02/17/2008 04:51 PM, Mike Jackson wrote: Lets assume for a second that your layout is something like: Project src -sub1 --CMakeLists.txt --sub1.cpp --sub1.ui -sub2 --CMakeLists.txt --sub2.cpp What you would want quite possible is a top level CMakeLis

Re: [CMake] ADD_CUSTOM_COMMAND and how to include generated files from other directories

2008-02-17 Thread Alexander Neundorf
On Sunday 17 February 2008, blinkeye wrote: > Hi guys > > I'm in the process of replacing Makefiles from two large projects with > CMake files. So far it's working great, but now I hit a wall: > > I need to generate .cpp and .h files from input files (analogue to the > .ui files of Qt). ... > Imagi

Re: [CMake] ADD_CUSTOM_COMMAND and how to include generated files from other directories

2008-02-17 Thread blinkeye
On 02/17/2008 04:58 PM, Alexander Neundorf wrote: On Sunday 17 February 2008, blinkeye wrote: Hi guys I'm in the process of replacing Makefiles from two large projects with CMake files. So far it's working great, but now I hit a wall: I need to generate .cpp and .h files from input files (ana