rabeux avatar rabeux committed 0aebb66

Windows7 packaging with NSIS.

Comments (0)

Files changed (3)

documentImageCreator/src/framework/CMakeLists.txt

 set(CPACK_PACKAGE_INSTALL_DIRECTORY DocumentCreator)
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${DocumentCreator_DESCRIPTION})
 
+if(WIN32)
+	SET(CPACK_NSIS_MODIFY_PATH ON)
+endif()
+
+
 IF(UNIX AND NOT APPLE)
 
         SET(CPACK_GENERATOR "DEB")

documentImageCreator/src/gui/AncientDocumentEditor/CMakeLists.txt

 #--------------------------------------------------------------------------------
 # Installation de QtTest, sure apple, le bundle se trouve à la racine,
 # sur les autres plate-forme dans bin
-INSTALL(TARGETS ${NAME}
+INSTALL(TARGETS ${PROGNAME}
 BUNDLE DESTINATION . COMPONENT Runtime
 RUNTIME DESTINATION bin COMPONENT Runtime
 )
 set(CPACK_PACKAGE_INSTALL_DIRECTORY AncientDocumentEditor)
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${AncientDocumentEditor_DESCRIPTION})
 
-
+if(WIN32)
+	SET(CPACK_NSIS_MODIFY_PATH ON)
+endif()
 
 IF(UNIX AND NOT APPLE)
         SET(CPACK_GENERATOR "DEB")

libs/Lipsum4Qt/CMakeLists.txt

 set(CPACK_PACKAGE_INSTALL_DIRECTORY Lipsum4Qt)
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY ${Lipsum4Qt_DESCRIPTION})
 
+if(WIN32)
+	SET(CPACK_NSIS_MODIFY_PATH ON)
+endif()
+
 IF(UNIX AND NOT APPLE)
         SET(CPACK_GENERATOR "DEB")
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.