[CMake] how to hide cmake files?

Kutty Banerjee kuttyb6 at hotmail.com
Fri Oct 29 17:39:27 EDT 2004


Hi,
 Suppose i have the following directory structure viz.,

MainDir
    ---src
    ---project
        -CMakeLists.txt

Now in the `CMakeLists.txt' in the project directory, i have a SUBDIRS(../src) which is
where the source file is. And i do
CMake -G"NMake Makefiles" . All works fine
and i get    a makefile in the project directory. When i do nmake in the project
directory however, the build process crashes.

The reason i m doing the above is to ensure that the cmake related files stay in a separate
folder than my src, bin and lib files. 

Is there a work around this please?

With Thanks
Kutty S Banerjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20041029/ca59d368/attachment.html


More information about the CMake mailing list