Hello All,

I have recently ported my project software tree to CMake and I am pretty
happy about it. There is a last step which is proving quite elusive to me.
The targets that are built in the software tree are TGZ'd for final
distribution, however, CPack if run from the CMakeLists.txt file will pickup
only those targets which are installed by INSTALL command. I can't change
the directory structure for historical reasons. If I use INSTALL from the
individual directories' CMakeLists.txt, CPack from the main CMakeLists.txt
is not finding anything and generates an empty TGZ.

src
|- a
|- b
|- c
|- dt
|- proj
   |- CMakeLists.txt (main)
   |- build
|- e
   |- x
   |- y
   |- z

Akshay
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to