[Cmake] CMakeLists setup for simple problem

michael_cm at gmx.ch michael_cm at gmx.ch
Tue Jun 1 10:40:46 EDT 2004


Hi,

I would like to set up the following directory structure:

src_dir/common
src_dir/app1
src_dir/app2
...


In the directory 'common', I'd like to have classes used by application1 and
application2 (and some more applications). The files belonging to these
applications (including the file with the main() function) are stored in
'app1', 'app2' and so on.

I'd like to use cmake to create my make files, since I'd like to compile the
project on different platforms.

Unfortunately I didn't really get it to work and would therefore like to
know how to properly set up the CMakeLists.txt files for this (I guess)
simple problem.

Thanks for any help,

Michael

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl



More information about the Cmake mailing list