فهرست منبع

Merge topic 'qtifw-archivegen' into release-3.19

5ab75dd7dd CPack/IFW: Locate the archivegen utility

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5503
Brad King 5 سال پیش
والد
کامیت
c35c4ae85c
2فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 4 0
      Help/cpack_gen/ifw.rst
  2. 10 0
      Modules/CPackIFW.cmake

+ 4 - 0
Help/cpack_gen/ifw.rst

@@ -231,6 +231,10 @@ The following variables provide the locations of the QtIFW
 command-line tools as discovered by the module :module:`CPackIFW`.
 These variables are cached, and may be configured if needed.
 
+.. variable:: CPACK_IFW_ARCHIVEGEN_EXECUTABLE
+
+ The path to ``archivegen``.
+
 .. variable:: CPACK_IFW_BINARYCREATOR_EXECUTABLE
 
  The path to ``binarycreator``.

+ 10 - 0
Modules/CPackIFW.cmake

@@ -437,6 +437,16 @@ find_program(CPACK_IFW_DEVTOOL_EXECUTABLE
   )
 mark_as_advanced(CPACK_IFW_DEVTOOL_EXECUTABLE)
 
+# Look for 'archivegen'
+
+find_program(CPACK_IFW_ARCHIVEGEN_EXECUTABLE
+  NAMES archivegen
+  PATHS ${_CPACK_IFW_PATHS}
+  PATH_SUFFIXES ${_CPACK_IFW_SUFFIXES}
+  DOC "QtIFW archivegen command line client"
+  )
+mark_as_advanced(CPACK_IFW_ARCHIVEGEN_EXECUTABLE)
+
 #
 ## Next code is included only once
 #