Hello,

I have a projects looking like this :
Repo
.
├── CMakeLists.txt
├── ProjA
│   ├── cmake
│   │   └── CPackConfig.cmake
│   ├── CMakeLists.txt
│   ├── doc
│   ├── include
│   ├── src
│   └── test
├── ProjB
│   ├── cmake
│   │   └── CPackConfig.cmake
│   ├── CMakeLists.txt
│   ├── doc
│   ├── include
│   ├── src
│   └── test
└── More projects...

Each project (ProjA, ProjB, ...) is buildable on its own. It can be tested, 
installed and packaged alone.
I want to be able to do the same from the top directory as well. In this case, 
it would apply the target to all subprojects.
It works fine for "make", "make test", "make install" but not for "make 
package". With the latter, only the last project is packaged not the others.

Is there a clean way to call CPack from the top directory ?

Thank you,
Barthelemy

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to