mctools / mcpl

Monte Carlo Particle Lists
https://mctools.github.io/mcpl/
Other
29 stars 13 forks source link

Please add CPack support in MCPL #68

Closed willend closed 2 years ago

willend commented 2 years ago

With these few lines added in the top CMakeLists.txt, I may easily build and package MCPL during my McStas release flow

project(MCPL VERSION 1.5.1 LANGUAGES CXX C)
set(CPACK_PACKAGE_NAME MCPL)
set(CPACK_PACKAGE_CONTACT       "mcpl-developers@cern.ch")
set(CPACK_PACKAGE_VERSION       "1.5.1")
set(CPACK_PACKAGE_VERSION_MAJOR "1.5")
set(CPACK_PACKAGE_VERSION_MINOR "1")
set(CPACK_NSIS_PACKAGE_NAME "MCPL 1.5.1")
set(CPACK_NSIS_DISPLAY_NAME "MCPL 1.5.1")
include(CPack)
tkittel commented 2 years ago

This was added in release 1.6.0: https://github.com/mctools/mcpl/blob/master/CMakeLists.txt#L80