I'm using cpack to create my zip file of my binaries. Everything works fine, but one thing is ugly. CPack always generate a top-level directory (with the name of the project and some other variables).
Does anybody know how i can tell cpack to get rid of this auto toplevel directory?
CMake: 3.4.x OS: Win7 x64
Thanks in advance
Tonka
found the solution myself.
There is a CPACK_INCLUDE_TOPLEVEL_DIRECTORY variable.
If it is set to ...
ON
(default) you will get a toplevel directoryOFF
you will get no toplevel directoryIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With