Perl added.

This commit is contained in:
Kolan Sh 2016-06-23 21:19:31 +03:00
parent 6bf40a9dc2
commit 908ac600d7
1 changed files with 10 additions and 4 deletions

View File

@ -15,9 +15,9 @@ SET (CPACK_PACKAGE_EXECUTABLES "..\\\\win${ARCH}\\\\bundle\\\\bin\\\\laview-desk
SET (CPACK_NSIS_INSTALLED_ICON_NAME ..\\\\win${ARCH}\\\\bundle\\\\bin\\\\laview-desktop-1.exe)
SET (CPACK_CREATE_DESKTOP_LINKS "..\\\\win${ARCH}\\\\bundle\\\\bin\\\\laview-desktop-1")
# required libraries/executables
# required dlls/executables
FILE (MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bundle/bin)
FOREACH (libname gspawn-win${ARCH}-helper.exe
FOREACH (binname gspawn-win${ARCH}-helper.exe perl.exe perl522.dll
libatk-1.0-0.dll libbz2-1.dll libcairo-2.dll libcairo-gobject-2.dll libepoxy-0.dll
libexpat-1.dll libffi-6.dll libfontconfig-1.dll libfreetype-6.dll libgcc_s_seh-1.dll
libgdk_pixbuf-2.0-0.dll libgdk-3-0.dll libgee-0.8-2.dll libgio-2.0-0.dll libglib-2.0-0.dll
@ -25,8 +25,14 @@ FOREACH (libname gspawn-win${ARCH}-helper.exe
libiconv-2.dll libintl-8.dll libpango-1.0-0.dll libpangocairo-1.0-0.dll libpangoft2-1.0-0.dll
libpangowin32-1.0-0.dll libpcre-1.dll libpixman-1-0.dll libpng16-16.dll libstdc++-6.dll
libwinpthread-1.dll zlib1.dll)
EXECUTE_PROCESS (COMMAND cp /mingw${ARCH}/bin/${libname} ${CMAKE_BINARY_DIR}/bundle/bin)
ENDFOREACH (libname)
EXECUTE_PROCESS (COMMAND cp /mingw${ARCH}/bin/${binname} ${CMAKE_BINARY_DIR}/bundle/bin)
ENDFOREACH (binname)
# required libraries
FILE (MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bundle/lib)
FOREACH (dirname perl5)
EXECUTE_PROCESS (COMMAND cp -r /mingw${ARCH}/lib/${dirname} ${CMAKE_BINARY_DIR}/bundle/lib)
ENDFOREACH (dirname)
# required resources
SET (adwaita_path share/icons/Adwaita)