I have a CMake project with several modules with root CMakeLists.txt with add_subdirectory macro macros.
As far as I understand, the default value for CPack / CMake is to create a package in the project root folder, where CMakeLists.txt is located. I would like to create a separate installation module with my own folder and create packages there? How to do it?
source
share