[Initng-svn] r4012 - in initng/trunk: src

svn at initng.thinktux.net svn at initng.thinktux.net
Thu May 4 17:02:50 CEST 2006


Author: biebl
Date: Thu May  4 17:02:48 2006
New Revision: 4012

Modified:
   initng/trunk/   (props changed)
   initng/trunk/CMakeLists.txt
   initng/trunk/config.h.cmake
   initng/trunk/src/initng.h

Log:
Set VERSION_NAME in the toplevel CMakeLists.txt file along with VERSION.
This is more consistent and makes it easier to change.



Modified: initng/trunk/CMakeLists.txt
==============================================================================
--- initng/trunk/CMakeLists.txt	(original)
+++ initng/trunk/CMakeLists.txt	Thu May  4 17:02:48 2006
@@ -1,5 +1,6 @@
 PROJECT(initng)
 SET(VERSION "0.6.4svn" CACHE STRING "Version number of the project")
+SET(VERSION_NAME "Progessing fast" CACHE STRING "Version string")
 
 IF(CMAKE_BACKWARDS_COMPATIBILITY LESS 2.2)
 	MESSAGE(FATAL_ERROR "Error: Your CMake version is too old. This project requires version 2.2 or newer.")

Modified: initng/trunk/config.h.cmake
==============================================================================
--- initng/trunk/config.h.cmake	(original)
+++ initng/trunk/config.h.cmake	Thu May  4 17:02:48 2006
@@ -1,3 +1,4 @@
 #cmakedefine VERSION "${VERSION}"
+#cmakedefine VERSION_NAME "${VERSION_NAME}"
 #cmakedefine HAVE_NCURSES
 #cmakedefine HAVE_NCURSES_H

Modified: initng/trunk/src/initng.h
==============================================================================
--- initng/trunk/src/initng.h	(original)
+++ initng/trunk/src/initng.h	Thu May  4 17:02:48 2006
@@ -48,9 +48,6 @@
 #define FALSE   0
 #define FAIL    -1
 
-/* default version string to show */
-#define VERSION_NAME "Progressing fast."
-
 #ifdef _SVN_REF
 #define INITNG_VERSION VERSION "+svn " _SVN_REF " " VERSION_NAME
 #else


More information about the Initng-svn mailing list