[CMake] Executable in the main directory

Enrique Izaguirre enrique.izaguirre at gmail.com
Wed Feb 2 16:16:08 EST 2011


Hello,

Is it possible to create an executable in your top directory if you don't
have there any program? I mean, if all your programs .c and .cpp are in
subdirectories contained in your top directory, each one with its own
CMakeLists.txt.
 I have three subdirectories, and all my programs are in these
subdirectories. I don't have any in my main directory, but the executable
should be created in the main directoy. Is it possible? How?

Thanks

BR

Enrique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110202/c2ff37ad/attachment-0001.htm>


More information about the CMake mailing list