gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Set the proper version for CMAKE in the tarballs (made by autotools).
0 3 1
default
4 files changed with 14 insertions and 3 deletions:
↑ Collapse diff ↑
Show white space 6 line context
1
SET(PROJECT_NAME "@PACKAGE_NAME@")
2
SET(PROJECT_VERSION "@PACKAGE_VERSION@" CACHE STRING "LEMON version string.")
Show white space 6 line context
1 1
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2 2

	
3
IF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
4
  INCLUDE(${CMAKE_SOURCE_DIR}/cmake/version.cmake)
5
ELSE(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
3 6
SET(PROJECT_NAME "LEMON")
4
SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.")
7
  SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.")
8
ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
5 9

	
6 10
PROJECT(${PROJECT_NAME})
7 11

	
Show white space 6 line context
... ...
@@ -10,7 +10,11 @@
10 10
	m4/lx_check_glpk.m4 \
11 11
	m4/lx_check_soplex.m4 \
12 12
	CMakeLists.txt \
13
	cmake
13
	cmake/FindGhostscript.cmake \
14
	cmake/version.cmake.in \
15
	cmake/version.cmake \
16
	cmake/nsis/lemon.ico \
17
	cmake/nsis/uninstall.ico
14 18

	
15 19
pkgconfigdir = $(libdir)/pkgconfig
16 20
lemondir = $(pkgincludedir)
Show white space 6 line context
... ...
@@ -97,10 +97,11 @@
97 97

	
98 98
dnl Add dependencies on files generated by configure.
99 99
AC_SUBST([CONFIG_STATUS_DEPENDENCIES],
100
  ['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in'])
100
  ['$(top_srcdir)/doc/Doxyfile.in $(top_srcdir)/lemon/lemon.pc.in $(top_srcdir)/cmake/version.cmake.in'])
101 101

	
102 102
AC_CONFIG_FILES([
103 103
Makefile
104
cmake/version.cmake
104 105
doc/Doxyfile
105 106
lemon/lemon.pc
106 107
])
0 comments (0 inline)