gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, cmake, updated. 284608d0645dcb90d0a443f1


From: Juergen Kahrs
Subject: [gawk-diffs] [SCM] gawk branch, cmake, updated. 284608d0645dcb90d0a443f155bb9e513eaf9eff
Date: Mon, 18 Feb 2013 18:28:47 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, cmake has been updated
       via  284608d0645dcb90d0a443f155bb9e513eaf9eff (commit)
      from  f4eb81006930f3d2fe944298b63bb546f0ee3e9f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=284608d0645dcb90d0a443f155bb9e513eaf9eff

commit 284608d0645dcb90d0a443f155bb9e513eaf9eff
Author: Juergen Kahrs <address@hidden>
Date:   Mon Feb 18 19:28:36 2013 +0100

    Preparations for building an NSIS installer.

diff --git a/cmake/package.cmake b/cmake/package.cmake
index 27fe285..ffea3f0 100644
--- a/cmake/package.cmake
+++ b/cmake/package.cmake
@@ -24,7 +24,14 @@
 
 ## process this file with CMake to produce Makefile
 
-SET(CPACK_GENERATOR "TGZ")
+IF (WIN32)
+  SET(CPACK_GENERATOR "NSIS")
+  set(CPACK_NSIS_INSTALL_ROOT "C:")
+ELSE()
+  SET(CPACK_GENERATOR "TGZ")
+  SET(CPACK_PACKAGING_INSTALL_PREFIX /usr)
+ENDIF() 
+
 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "This is GNU Awk ${GAWK_VERSION}")
 SET(CPACK_PACKAGE_NAME "gawk")
 SET(CPACK_PACKAGE_VERSION "${GAWK_VERSION}")
@@ -33,6 +40,5 @@ SET(CPACK_PACKAGE_VERSION_MINOR "${GAWK_MINOR_VERSION}")
 SET(CPACK_PACKAGE_VERSION_PATCH "${GAWK_BUGFIX_VERSION}")
 SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING")
 SET(CPACK_RESOURCE_FILE_README  "${CMAKE_SOURCE_DIR}/README")
-SET(CPACK_PACKAGING_INSTALL_PREFIX /usr)
 
 INCLUDE(CPack)

-----------------------------------------------------------------------

Summary of changes:
 cmake/package.cmake |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]