File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -576,4 +576,11 @@ if(APPIMAGE_MODE)
576576 )
577577endif ()
578578
579+ if (WIN32 )
580+ add_custom_target (windows-installer
581+ COMMAND cpack
582+ COMMAND "/c/Program Files (x86)/Windows Kits/10/App Certification Kit/signtool" sign /v /n "Kasper Peeters" /tr http://timestamp.globalsign.com/?signature=sha2 /td sha256 cadabra2-${CADABRA_VERSION_MAJOR} .${CADABRA_VERSION_MINOR} .${CADABRA_VERSION_PATCH} -win64.exe
583+ )
584+ endif ()
585+
579586print_header("All scripts completed" )
Original file line number Diff line number Diff line change @@ -416,8 +416,11 @@ Checkout Cadabra and build::
416416 ninja install
417417
418418This will leave an installation in `Program Files (x86)/Cadabra `, from where
419- you can start `cadabra2-gtk `.
419+ you can start `cadabra2-gtk `.
420420
421+ To build an installer, simply run `cpack ` after having built
422+ Cadabra. To sign the installer, you need `signtool ` from the Windows
423+ SDK, available from https://go.microsoft.com/fwlink/?LinkID=698771.
421424
422425
423426Building a Jupyter kernel
Original file line number Diff line number Diff line change 1111#include < stdlib.h>
1212#endif
1313
14+ #define NDEBUG 1
15+
1416// Cadabra frontend with GTK+ interface (using gtkmm).
1517// Makes use of the client classes in the client_server directory.
1618
You can’t perform that action at this time.
0 commit comments