[CMake] build package of subproject with cpack

normanraedke at gmx.de normanraedke at gmx.de
Tue Feb 9 09:58:39 EST 2010


Hello everybody,

is there a way to build a package of sub project with CPACK.

I have a Project which consists off different subprojects most shared library projects. The problem is that only the generated top level project include a CPackConfig.cmake file. The CMakeLists.txt files from avery subproject also includes the required CPack-Syntax to build a package. Some Subprojects depends on another subproject.

Here is a little example of project structure:

TopLevel
 - ExecutableProject
 - SubProject1 SharedLibrary
 - SubProject2 SharedLibrary
 - ...

Thanks

Norman

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


More information about the CMake mailing list