About 322,000 results
Open links in new tab
  1. How to create an installer with CMake + CPack - Stack Overflow

    30 I'd like to create a cross-platform installer for a C++ based system I am building. I use CMake to build everything, and it would be great if I could use CPack to make the installer. I already …

  2. c++ - Why should include (CPack) go after the per project …

    Apr 26, 2019 · This is how is supposed to work CPack. When you include it in your CMakeLists.txt, it reads all the variables listed in its documentation like CPACK_GENERATOR …

  3. CPACK: How to separate artifacts per defined COMPONENT

    Feb 20, 2022 · I develop multiple applications in a single repository. Use CPACK to package each component, but depending on the compression format, it may or may not work as expected. …

  4. How to sign Windows binaries and NSIS installers when building …

    Jun 5, 2022 · How to sign Windows binaries and NSIS installers when building with cmake + cpack Asked 3 years, 5 months ago Modified 3 years, 3 months ago Viewed 3k times

  5. How to change CPack package file name based on configuration?

    May 24, 2017 · In CMake, using CPack I want CPACK_PACKAGE_FILE_NAME to include -debug suffix in case the package is produced from Debug configuration. For single …

  6. How to change package destination folder in CPack?

    Jul 10, 2010 · I have a multiple module CMake project with a root CMakeLists.txt with multipe add_subdirectory macros. As far as I understand the default for CPack/CMake is to create …

  7. Copying files and including them in a CPack archive

    14 As explained in the documentation of the CPack module, the binary installers created by CPack contain everything installed via CMake's INSTALL command. Thus the executable …

  8. cmake - Rename the output of CPack - Stack Overflow

    Mar 9, 2012 · The two possible approaches that I am aware of are manipulating the CPack filename variables at build time and renaming the final output of CPack. If using "include …

  9. How to check whether include(CPack) is already being called …

    Jun 11, 2021 · How to check whether include (CPack) is already being called before or not in CMake? Asked 4 years, 5 months ago Modified 3 years, 2 months ago Viewed 858 times

  10. Problems with CPack building multiple packages at once

    Apr 3, 2017 · I'm facing problems using the packaging with CPack and CMake 3.7.2. I try to build three different packages, MSI (via WIX), IFW, and ZIP. According to the documentation I set …