[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, cmake, updated. 6c173e43fc3902e5dc4be1ed
From: |
Juergen Kahrs |
Subject: |
[gawk-diffs] [SCM] gawk branch, cmake, updated. 6c173e43fc3902e5dc4be1ed90aac7a66228628e |
Date: |
Wed, 20 Feb 2013 18:49:30 +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 6c173e43fc3902e5dc4be1ed90aac7a66228628e (commit)
from f778f620480f476fd4a61fa43cd3349f95afaf48 (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=6c173e43fc3902e5dc4be1ed90aac7a66228628e
commit 6c173e43fc3902e5dc4be1ed90aac7a66228628e
Author: Juergen Kahrs <address@hidden>
Date: Wed Feb 20 19:49:19 2013 +0100
Added instructions on building with MinGW on Ubuntu 12.04.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76387fb..0714a02 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,6 +41,10 @@ endif ()
include_directories(${CMAKE_SOURCE_DIR})
if(WIN32 OR "${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
+ # This is enough to build with MinGW cross-compiler on OpenSuSE 12.2.
+ # On Ubuntu 12.04 patches to gawk's source code are needed:
+ # - insert #include <windows.h> at the top of awk.h
+ # - remove function execvp from pc/gawkmisc.pc
DefineConfigHValue(HAVE_WCTYPE_T 1)
DefineConfigHValue(WEOF EOF)
DefineConfigHValue(HAVE_USLEEP 1)
diff --git a/cmake/package.cmake b/cmake/package.cmake
index ffea3f0..7bbb137 100644
--- a/cmake/package.cmake
+++ b/cmake/package.cmake
@@ -26,7 +26,7 @@
IF (WIN32)
SET(CPACK_GENERATOR "NSIS")
- set(CPACK_NSIS_INSTALL_ROOT "C:")
+ set(CPACK_NSIS_INSTALL_ROOT "C:/Programs")
ELSE()
SET(CPACK_GENERATOR "TGZ")
SET(CPACK_PACKAGING_INSTALL_PREFIX /usr)
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 4 ++++
cmake/package.cmake | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, cmake, updated. 6c173e43fc3902e5dc4be1ed90aac7a66228628e,
Juergen Kahrs <=