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. 9d0462137c48a149b41ffc8c


From: Juergen Kahrs
Subject: [gawk-diffs] [SCM] gawk branch, cmake, updated. 9d0462137c48a149b41ffc8cce183999374c8683
Date: Wed, 13 Feb 2013 07:58:32 +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  9d0462137c48a149b41ffc8cce183999374c8683 (commit)
      from  d8d656a2929d9fd54d9263634c803b92dab568c3 (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=9d0462137c48a149b41ffc8cce183999374c8683

commit 9d0462137c48a149b41ffc8cce183999374c8683
Author: Juergen Kahrs <address@hidden>
Date:   Wed Feb 13 08:58:16 2013 +0100

    Moved much code into new files for configuring and packaging.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7dbe993..01c98ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -27,205 +27,7 @@
 cmake_minimum_required (VERSION 2.6)
 project (gawk C)
 
-include(CheckIncludeFiles)
-include(CheckIncludeFile)
-include(CheckSymbolExists)
-include(CheckFunctionExists)
-include(CheckLibraryExists)
-include(CheckTypeSize)
-include(CheckStructHasMember)
-
-MACRO(DefineFunctionIfAvailable func feature)
-  check_function_exists("${func}" "${feature}")
-  IF (${feature})
-    ADD_DEFINITIONS (-D ${feature})
-  ENDIF ()
-ENDMACRO(DefineFunctionIfAvailable)
-
-MACRO(DefineHFileIfAvailable hfile feature)
-  check_include_file("${hfile}" "${feature}")
-  IF (${feature})
-    ADD_DEFINITIONS (-D ${feature})
-  ENDIF ()
-ENDMACRO(DefineHFileIfAvailable)
-
-MACRO(DefineTypeIfAvailable type feature)
-  check_type_size("${type}" "${feature}")
-  IF (${feature})
-    ADD_DEFINITIONS (-D ${feature}=${${feature}})
-  ENDIF ()
-ENDMACRO(DefineTypeIfAvailable)
-
-MACRO(DefineSymbolIfAvailable symbol hfile feature)
-  check_symbol_exists("${symbol}" "${hfile}" "${feature}")
-  IF (${feature})
-    ADD_DEFINITIONS (-D ${feature})
-  ENDIF ()
-ENDMACRO(DefineSymbolIfAvailable)
-
-MACRO(DefineStructHasMemberIfAvailable struct member hfile feature)
-  check_struct_has_member("${struct}" "${member}" "${hfile}" "${feature}")
-  IF (${feature})
-    ADD_DEFINITIONS (-D ${feature})
-  ENDIF ()
-ENDMACRO(DefineStructHasMemberIfAvailable)
-
-MACRO(DefineLibraryIfAvailable lib func location feature)
-  check_library_exists("${lib}" "${func}" "${location}" "${feature}")
-  IF (${feature})
-    ADD_DEFINITIONS (-D ${feature})
-  ENDIF ()
-ENDMACRO(DefineLibraryIfAvailable)
-
-file( WRITE config.h "/* empty file, all settings defined by CMake. */" )
-# Configure a header file to pass some of the CMake settings
-# to the source code
-# http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:configure_file
-# CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.cmake.h.in 
${CMAKE_CURRENT_BINARY_DIR}/config.h IMMEDIATE )
-
-FILE( READ  configure.ac CONFIG_AUTOMAKE )
-STRING( REGEX MATCH "AC_INIT\\(\\[GNU Awk\\], ([0-9]+\\.[0-9]+\\.[0-9]+)" 
GAWK_AUTOMAKE_LINE_VERSION "${CONFIG_AUTOMAKE}") 
-STRING( REGEX REPLACE ".*([0-9]+)\\.[0-9]+\\.[0-9]+.*" "\\1" 
GAWK_MAJOR_VERSION "${GAWK_AUTOMAKE_LINE_VERSION}") 
-STRING( REGEX REPLACE ".*[0-9]+\\.([0-9]+)\\.[0-9]+.*" "\\1" 
GAWK_MINOR_VERSION "${GAWK_AUTOMAKE_LINE_VERSION}") 
-STRING( REGEX REPLACE ".*[0-9]+\\.[0-9]+\\.([0-9]+).*" "\\1" 
GAWK_BUGFIX_VERSION "${GAWK_AUTOMAKE_LINE_VERSION}") 
-
-add_definitions(-DGAWK)
-set(GAWK_VERSION 
"${GAWK_MAJOR_VERSION}.${GAWK_MINOR_VERSION}.${GAWK_BUGFIX_VERSION}")
-add_definitions(-D VERSION=\\"${GAWK_VERSION}\\")
-add_definitions(-D PACKAGE=\\"gawk\\")
-add_definitions(-D PACKAGE_STRING="GNU Awk ${GAWK_VERSION}")
-add_definitions(-D PACKAGE_TARNAME=\\"gawk\\")
-add_definitions(-D PACKAGE_URL=\\"http://www.gnu.org/software/gawk/\\";)
-add_definitions(-D PACKAGE_VERSION=\\"${GAWK_VERSION}\\")
-add_definitions(-D DEFPATH=\\"${CMAKE_BINARY_DIR}/awk\\")
-add_definitions(-D DEFLIBPATH=\\"${CMAKE_BINARY_DIR}/lib\\")
-#DefineFunctionIfAvailable(dlopen DYNAMIC)
-DefineHFileIfAvailable(dlfcn.h DYNAMIC)
-#add_definitions(-D SHLIBEXT=\\"${CMAKE_SHARED_LIBRARY_SUFFIX}\\")
-add_definitions(-D SHLIBEXT=\\"so\\")
-DefineTypeIfAvailable("unsigned int" SIZEOF_UNSIGNED_INT)
-DefineTypeIfAvailable("unsigned long" SIZEOF_UNSIGNED_LONG)
-#/* Define to 1 if *printf supports %F format */
-add_definitions(-D PRINTF_HAS_F_FORMAT)
-#/* Define as the return type of signal handlers (`int' or `void'). */
-add_definitions(-D RETSIGTYPE=void)
-#add_definitions(-D PIPES_SIMULATED)
-add_definitions(-D GETPGRP_VOID)
-#add_definitions(-D YYPARSE_PARAM)
-
-DefineFunctionIfAvailable(snprintf HAVE_SNPRINTF)
-DefineFunctionIfAvailable(vprintf HAVE_VPRINTF)
-DefineHFileIfAvailable(sys/types.h HAVE_SYS_TYPES_H)
-DefineHFileIfAvailable(sys/stat.h HAVE_SYS_STAT_H)
-DefineHFileIfAvailable(string.h HAVE_STRING_H)
-DefineHFileIfAvailable(memory.h HAVE_MEMORY_H)
-DefineHFileIfAvailable(strings.h HAVE_STRINGS_H)
-DefineHFileIfAvailable(stdint.h HAVE_STDINT_H)
-DefineHFileIfAvailable(inttypes.h HAVE_INTTYPES_H)
-DefineHFileIfAvailable(stdlib.h HAVE_STDLIB_H)
-DefineHFileIfAvailable(unistd.h HAVE_UNISTD_H)
-DefineFunctionIfAvailable(gettext HAVE_GETTEXT)
-DefineFunctionIfAvailable(dcgettext HAVE_DCGETTEXT)
-  FIND_PACKAGE(Gettext REQUIRED)
-#  FIND_PACKAGE(XGettext REQUIRED)
-#  FIND_PACKAGE(Iconv REQUIRED)
-  FIND_PATH(INTL_INCLUDE_DIR libintl.h PATHS /usr/include /usr/local/include)
-  FIND_LIBRARY(INTL_LIBRARIES intl c PATHS /usr/lib/ /usr/local/lib)
-DefineSymbolIfAvailable("CODESET" "langinfo.h" HAVE_LANGINFO_CODESET)
-DefineSymbolIfAvailable("LC_MESSAGES" "locale.h" HAVE_LC_MESSAGES)
-DefineTypeIfAvailable("_Bool" HAVE__BOOL)
-if (${HAVE_GETTEXT} AND  ${HAVE_DCGETTEXT} AND ${HAVE_LANGINFO_CODESET} AND 
${HAVE_LC_MESSAGES})
-  add_definitions(-D LOCALEDIR=\\"/usr/share/locale\\")
-  add_definitions(-D ENABLE_NLS)
-  ADD_SUBDIRECTORY( po )
-endif()
-DefineHFileIfAvailable(stdbool.h HAVE_STDBOOL_H)
-DefineHFileIfAvailable(sys/wait.h HAVE_SYS_WAIT_H)
-DefineHFileIfAvailable(arpa/inet.h HAVE_ARPA_INET_H)
-DefineHFileIfAvailable(fcntl.h HAVE_FCNTL_H)
-DefineHFileIfAvailable(limits.h HAVE_LIMITS_H)
-DefineHFileIfAvailable(locale.h HAVE_LOCALE_H)
-DefineHFileIfAvailable(libintl.h HAVE_LIBINTL_H)
-DefineHFileIfAvailable(mcheck.h HAVE_MCHECK_H)
-DefineHFileIfAvailable(netdb.h HAVE_NETDB_H)
-DefineHFileIfAvailable(netinet/in.h HAVE_NETINET_IN_H)
-DefineHFileIfAvailable(stdarg.h HAVE_STDARG_H)
-DefineHFileIfAvailable(stddef.h HAVE_STDDEF_H)
-DefineHFileIfAvailable(sys/ioctl.h HAVE_SYS_IOCTL_H)
-DefineHFileIfAvailable(sys/param.h HAVE_SYS_PARAM_H)
-DefineHFileIfAvailable(sys/socket.h HAVE_SYS_SOCKET_H)
-DefineHFileIfAvailable(sys/termios.h HAVE_TERMIOS_H)
-DefineHFileIfAvailable(stropts.h HAVE_STROPTS_H)
-DefineHFileIfAvailable(wchar.h HAVE_WCHAR_H)
-DefineHFileIfAvailable(wctype.h HAVE_WCTYPE_H)
-#DefineTypeIfAvailable("long long int"   HAVE_LONG_LONG_INT)
-#add_definitions(-D HAVE_UNSIGNED_LONG_LONG_INT)
-DefineTypeIfAvailable(intmax_t INTMAX_T)
-DefineTypeIfAvailable(uintmax_t UINTMAX_T)
-
-# Some of these dont work, maybe CheckCSourceCompiles would be better.
-DefineTypeIfAvailable("time_t" TIME_T_IN_SYS_TYPES_H)
-DefineTypeIfAvailable("wctype_t" WCTYPE_T)
-add_definitions(-D WINT_T)
-#DefineTypeIfAvailable("wint_t" WINT_T)
-add_definitions(-D HAVE_SOCKADDR_STORAGE)
-#DefineTypeIfAvailable("struct sockaddr_storage" SOCKADDR_STORAGE)
-add_definitions(-D HAVE_STRUCT_STAT_ST_BLKSIZE)
-#DefineStructHasMemberIfAvailable("struct stat" st_blksize bits/stat.h 
HAVE_STRUCT_STAT_ST_BLKSIZE)
-add_definitions(-D HAVE_ST_BLKSIZE)
-#DefineStructHasMemberIfAvailable("struct stat" st_blksize bits/stat.h 
HAVE_ST_BLKSIZE)
-DefineStructHasMemberIfAvailable("struct tm" tm_zone time.h HAVE_TM_ZONE)
-DefineStructHasMemberIfAvailable("struct tm" tm_zone time.h 
HAVE_STRUCT_TM_TM_ZONE)
-
-DefineHFileIfAvailable(sys/time.h HAVE_SYS_TIME_H)
-DefineFunctionIfAvailable(alarm HAVE_ALARM)
-DefineFunctionIfAvailable(mktime HAVE_MKTIME)
-DefineFunctionIfAvailable(getaddrinfo HAVE_GETADDRINFO)
-DefineFunctionIfAvailable(atexit HAVE_ATEXIT)
-DefineFunctionIfAvailable(btowc HAVE_BTOWC)
-add_definitions(-D HAVE_FMOD)
-#DefineFunctionIfAvailable(fmod HAVE_FMOD)
-DefineFunctionIfAvailable(isinf HAVE_ISINF)
-DefineFunctionIfAvailable(ismod HAVE_ISMOD)
-DefineFunctionIfAvailable(getgrent HAVE_GETGRENT)
-DefineFunctionIfAvailable(getgroups HAVE_GETGROUPS)
-add_definitions(-D GETGROUPS_T=gid_t)
-DefineTypeIfAvailable("pid_t"   PID_T)
-DefineFunctionIfAvailable(grantpt HAVE_GRANTPT)
-DefineFunctionIfAvailable(isascii HAVE_ISASCII)
-DefineFunctionIfAvailable(iswctype HAVE_ISWCTYPE)
-DefineFunctionIfAvailable(iswlower HAVE_ISWLOWER)
-DefineFunctionIfAvailable(iswupper HAVE_ISUPPER)
-DefineFunctionIfAvailable(mbrlen HAVE_MBRLEN)
-DefineFunctionIfAvailable(memcmp HAVE_MEMCMP)
-DefineFunctionIfAvailable(memcpy HAVE_MEMCPY)
-DefineFunctionIfAvailable(memmove HAVE_MEMMOVE)
-DefineFunctionIfAvailable(memset HAVE_MEMSET)
-DefineFunctionIfAvailable(mkstemp HAVE_MKSTEMP)
-DefineFunctionIfAvailable(posix_openpt HAVE_POSIX_OPENPT)
-DefineFunctionIfAvailable(setenv HAVE_SETENV)
-DefineFunctionIfAvailable(setlocale HAVE_SETLOCALE)
-DefineFunctionIfAvailable(setsid HAVE_SETSID)
-DefineFunctionIfAvailable(strchr HAVE_STRCHR)
-DefineFunctionIfAvailable(strerror HAVE_STRERROR)
-DefineFunctionIfAvailable(strftime HAVE_STRFTIME)
-DefineFunctionIfAvailable(strncasecmp HAVE_STRNCASECMP)
-DefineFunctionIfAvailable(strcoll HAVE_STRCOLL)
-DefineFunctionIfAvailable(strtod HAVE_STRTOD)
-DefineFunctionIfAvailable(strtoul HAVE_STRTOUL)
-DefineFunctionIfAvailable(system HAVE_SYSTEM)
-DefineFunctionIfAvailable(tmpfile HAVE_TMPFILE)
-DefineFunctionIfAvailable(towlower HAVE_TOWLOWER)
-DefineFunctionIfAvailable(towupper HAVE_TOWUPPER)
-DefineFunctionIfAvailable(tzset HAVE_TZSET)
-DefineFunctionIfAvailable(usleep HAVE_USLEEP)
-DefineFunctionIfAvailable(wcrtomb HAVE_WCRTOMB)
-DefineFunctionIfAvailable(wcscoll HAVE_WCSCOLL)
-DefineFunctionIfAvailable(wctype HAVE_WCTYPE)
-DefineFunctionIfAvailable(mbrtowc HAVE_MBRTOWC)
-
-add_definitions(-D HAVE_STRINGIZE)
-add_definitions(-D _Noreturn=)
+include(cmake/configure.cmake)
 
 find_package(BISON REQUIRED)
 if (${BISON_FOUND} STREQUAL "TRUE")
@@ -299,7 +101,6 @@ set (GAWK_SOURCES ${GAWK_SOURCES}
 
 add_executable (gawk ${GAWK_SOURCES} ${BISON_awkgram_OUTPUTS})
 target_link_libraries (gawk m ${EXTRA_LIBS})
-set(CPACK_PACKAGING_INSTALL_PREFIX /usr)
 install(PROGRAMS ${CMAKE_BINARY_DIR}/gawk DESTINATION bin)
 
 # Beware: before building the extension, -DGAWK gets undefined.
@@ -314,14 +115,5 @@ if(NOT ${CMAKE_CROSSCOMPILING} STREQUAL "TRUE")
 endif()
 
 include(InstallRequiredSystemLibraries)
-SET(CPACK_GENERATOR "TGZ")
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "This is GNU Awk ${GAWK_VERSION}")
-SET(CPACK_PACKAGE_NAME "gawk")
-SET(CPACK_PACKAGE_VERSION "${GAWK_VERSION}")
-SET(CPACK_PACKAGE_VERSION_MAJOR "${GAWK_MAJOR_VERSION}")
-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")
-
-INCLUDE(CPack)
+set(CPACK_PACKAGING_INSTALL_PREFIX /usr)
+include(cmake/package.cmake)
diff --git a/CMakeLists.txt b/cmake/configure.cmake
similarity index 79%
copy from CMakeLists.txt
copy to cmake/configure.cmake
index 7dbe993..8b285e5 100644
--- a/CMakeLists.txt
+++ b/cmake/configure.cmake
@@ -1,5 +1,5 @@
 #
-# CMakeLists.txt --- CMake input file for gawk
+# cmake/configure --- CMake input file for gawk
 #
 # Copyright (C) 2013
 # the Free Software Foundation, Inc.
@@ -24,9 +24,6 @@
 
 ## process this file with CMake to produce Makefile
 
-cmake_minimum_required (VERSION 2.6)
-project (gawk C)
-
 include(CheckIncludeFiles)
 include(CheckIncludeFile)
 include(CheckSymbolExists)
@@ -227,101 +224,3 @@ DefineFunctionIfAvailable(mbrtowc HAVE_MBRTOWC)
 add_definitions(-D HAVE_STRINGIZE)
 add_definitions(-D _Noreturn=)
 
-find_package(BISON REQUIRED)
-if (${BISON_FOUND} STREQUAL "TRUE")
-  BISON_TARGET(awkgram awkgram.y ${CMAKE_SOURCE_DIR}/awkgram.c)
-endif()
-#http://www.cmake.org/cmake/help/v2.8.10/cmake.html#module:FindGettext
-find_package(Gettext REQUIRED)
-if (GETTEXT_FOUND STREQUAL "TRUE")
-  include_directories(${GETTEXT_INCLUDE_DIR})
-else ()
-  message( FATAL_ERROR "Gettext not found" )
-endif()
-find_package(LATEX)
-include(GNUInstallDirs)
-include(GetPrerequisites)
-
-set (EXTRA_LIBS "")
-
-DefineLibraryIfAvailable(m    sin         "" HAVE_LIBM)
-DefineLibraryIfAvailable(mpfr mpfr_add_si "" HAVE_MPFR)
-DefineLibraryIfAvailable(c    socket      "" HAVE_SOCKETS)
-
-if (${HAVE_MPFR})
-  set (EXTRA_LIBS ${EXTRA_LIBS} mpfr gmp)
-endif ()
-if (${DYNAMIC})
-  set (EXTRA_LIBS ${EXTRA_LIBS} ${CMAKE_DL_LIBS} )
-endif ()
-
-
-include_directories(${CMAKE_SOURCE_DIR})
-
-if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
-  # awk.h changed
-  # pc/gawkmisc.pc:605 execvp raus
-  set (GAWK_SOURCES ${GAWK_SOURCES} regex.c pc/getid.c)
-  add_definitions(-D HAVE_WINT_T)
-  add_definitions(-D HAVE_ISWUPPER)
-  add_definitions(-D HAVE_SETENV)
-  add_definitions(-D MB_CUR_MAX)
-  add_definitions(-D STDC_HEADERS)
-endif()
-
-set (GAWK_SOURCES ${GAWK_SOURCES}
-  array.c
-  builtin.c 
-  cint_array.c 
-  command.c
-  debug.c
-  dfa.c
-  eval.c 
-  ext.c 
-  field.c 
-  floatcomp.c
-  gawkapi.c 
-  gawkmisc.c 
-  int_array.c
-  io.c 
-  main.c 
-  mpfr.c 
-  msg.c 
-  node.c 
-  profile.c 
-  random.c 
-  re.c 
-  replace.c 
-  str_array.c 
-  symbol.c 
-  version.c 
-)
-
-add_executable (gawk ${GAWK_SOURCES} ${BISON_awkgram_OUTPUTS})
-target_link_libraries (gawk m ${EXTRA_LIBS})
-set(CPACK_PACKAGING_INSTALL_PREFIX /usr)
-install(PROGRAMS ${CMAKE_BINARY_DIR}/gawk DESTINATION bin)
-
-# Beware: before building the extension, -DGAWK gets undefined.
-add_subdirectory(extension)
-
-if(NOT ${CMAKE_CROSSCOMPILING} STREQUAL "TRUE")
-  enable_testing()
-  add_subdirectory(test)
-  if (${LATEX_COMPILER})
-    add_subdirectory(doc)
-  endif()
-endif()
-
-include(InstallRequiredSystemLibraries)
-SET(CPACK_GENERATOR "TGZ")
-SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "This is GNU Awk ${GAWK_VERSION}")
-SET(CPACK_PACKAGE_NAME "gawk")
-SET(CPACK_PACKAGE_VERSION "${GAWK_VERSION}")
-SET(CPACK_PACKAGE_VERSION_MAJOR "${GAWK_MAJOR_VERSION}")
-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")
-
-INCLUDE(CPack)
diff --git a/cmake/package.cmake b/cmake/package.cmake
new file mode 100644
index 0000000..27fe285
--- /dev/null
+++ b/cmake/package.cmake
@@ -0,0 +1,38 @@
+#
+# cmake/package --- CMake input file for gawk
+#
+# Copyright (C) 2013
+# the Free Software Foundation, Inc.
+#
+# This file is part of GAWK, the GNU implementation of the
+# AWK Programming Language.
+#
+# GAWK is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# GAWK is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, 
USA
+#
+
+## process this file with CMake to produce Makefile
+
+SET(CPACK_GENERATOR "TGZ")
+SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "This is GNU Awk ${GAWK_VERSION}")
+SET(CPACK_PACKAGE_NAME "gawk")
+SET(CPACK_PACKAGE_VERSION "${GAWK_VERSION}")
+SET(CPACK_PACKAGE_VERSION_MAJOR "${GAWK_MAJOR_VERSION}")
+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:
 CMakeLists.txt                            |  214 +----------------------------
 CMakeLists.txt => cmake/configure.cmake   |  103 +--------------
 doc/CMakeLists.txt => cmake/package.cmake |   27 ++--
 3 files changed, 16 insertions(+), 328 deletions(-)
 copy CMakeLists.txt => cmake/configure.cmake (79%)
 copy doc/CMakeLists.txt => cmake/package.cmake (60%)


hooks/post-receive
-- 
gawk



reply via email to

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