andrew-d / rough-auditing-tool-for-security

Automatically exported from code.google.com/p/rough-auditing-tool-for-security
GNU General Public License v2.0
84 stars 30 forks source link

Add a CMake build #13

Open dmott-eyelock opened 3 years ago

dmott-eyelock commented 3 years ago

Its generated by cpack. From the source directory:

mkdir .build cd .build cmake .. cmake –build . –target package

This will generate an cpack installer. By default on Windows it uses the NSIS generator to create it. You will need NSIS installed or the WiX toolkit to make an MSI.

cpack -G WIX

Will generate an MSI if the WiX toolkit is installed. There are other installer types as well but untested

Generators 7Z = 7-Zip file format DEB = Debian packages External = CPack External packages IFW = Qt Installer Framework NSIS = Null Soft Installer NSIS64 = Null Soft Installer (64-bit) NuGet = NuGet packages STGZ = Self extracting Tar GZip compression TBZ2 = Tar BZip2 compression TGZ = Tar GZip compression TXZ = Tar XZ compression TZ = Tar Compress compression TZST = Tar Zstandard compression WIX = MSI file format via WiX tools ZIP = ZIP file format