[CMake] cpack_install_cmake_projects options?

dean.inglis at camris.ca dean.inglis at camris.ca
Tue Jul 15 08:16:36 EDT 2008


I am trying to use CPack to install a simple windows command line exe
that links to 3 dll's: TeneosCommon.dll, vtkCommon.dll, vtksys.dll, where
Teneos is a 3rd party source that compiles against VTK, ITK, Gdcm and KWWidgets.
Currently, my TeneosCPack.cmake file has 

SET( CPACK_INSTALL_CMAKE_PROJECTS 
"${TeneosApplications_BINARY_DIR};TeneosApplications;ALL;/;${VTK_DIR};VTK 
Runtime Libs;RuntimeLibraries;/;${KWWidgets_DIR};KWWidgets Libs;ALL;/;
${GDCM_DIR};GDCM Libs;ALL;/;${Teneos_DIR};Teneos Runtime Libs;ALL;/" )

But this packages all libs, dlls and header files. What other options
other than ALL are there? Would I use CPACK_SOURCE_IGNORE_FILES
somehow to exclude all .lib and .h files and possibly certain dll's? 
How would I request that only the aforementioned dll's are packaged?

Dean




More information about the CMake mailing list