[Cmake] CMakeLists setup for simple problem

William A. Hoffman billlist at nycap.rr.com
Tue Jun 1 10:46:40 EDT 2004


You could start here:
http://www.cmake.org/HTML/Examples.html

It is a similar example, the Hello directory would be common.
The Demo directory could be app1, and you could copy it for app2.

-Bill


At 10:40 AM 6/1/2004, michael_cm at gmx.ch wrote:
>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
>
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the Cmake mailing list