2011/9/12 Akshay <akshay.ran...@gmail.com>: > Hi Eric, Hi,
Please do not drop the ML address. > 'make install' puts the targets in the directories that I have set in the > main CMakeLists.txt. >I am using CMake 2.8.0 on Ubuntu x64 (Linux valhala > 2.6.38-10-generic #46~lucid1-Ubuntu SMP Wed Jul 6 18:41:04 UTC 2011 x86_64 > GNU/Linux). If "make install" is working the way you want there is no reason CPack wouldn't unless you use absolute install path in your INSTALL command. > Yes, main CMakeLists.txt is in a sibling directory. Yes, I goto > the directory of main CMakeLists.txt and do 'cmake CMakeLists.txt' followed > by 'make'. I have trying all options with the actual source tree. What do you mean by "all options"? > However > before starting, I used a single level dummy project where things worked > fine. I have used INCLUDE_SUBDIRECTORY() for all the source directories with > relative paths. INCLUDE_SUBDIRECTORY is not a CMake command you must be using ADD_SUBDIRECTORY. Could you send us your main CMakeLists.txt and an example of CMakeLists.txt you use in one subdir. Or better build self-contained dummy project which exhibit the issue. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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