I think there might be an issue with CPack’s NSIS generator where if the components (specified through CPACK_COMPONENTS_ALL
contains a-` (eg. llvm-nm, llvm-libtool) then the generator creates variables with the ‘-’ character and later cannot work with them.
CPack seems to either build the
all target instead of using the components-list specified in CPACK_COMPONENTS_ALL. At best this causes a longer build and at worst it fails because the build tries to build components that fail to build but are not part of the distribution.
Can someone please let me know if these are known problems and how to either fix or workaround them?
Thanks in advance!