]> sigrok.org Git - pulseview.git/blobdiff - CMakeLists.txt
Build: Substitute build configuration into NSIS script
[pulseview.git] / CMakeLists.txt
index bde27c13c900b9c8096d712c1738cf83569042cd..ce4139d9e42332b14908038fa106097f90bc18cc 100644 (file)
@@ -449,6 +449,9 @@ install(TARGETS ${PROJECT_NAME} DESTINATION bin/)
 # Install the manpage.
 install(FILES doc/pulseview.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)
 
+# Generate Windows installer script.
+configure_file(contrib/pulseview_cross.nsi.in contrib/pulseview_cross.nsi @ONLY)
+
 #===============================================================================
 #= Packaging (handled by CPack)
 #-------------------------------------------------------------------------------