0
3
1
1 | 1 |
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) |
2 | 2 |
|
3 |
SET(PROJECT_NAME "LEMON") |
|
4 |
SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.") |
|
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) |
|
6 |
SET(PROJECT_NAME "LEMON") |
|
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 |
|
8 | 12 |
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) |
9 | 13 |
|
10 | 14 |
INCLUDE(FindDoxygen) |
11 | 15 |
INCLUDE(FindGhostscript) |
12 | 16 |
|
13 | 17 |
ENABLE_TESTING() |
14 | 18 |
|
15 | 19 |
ADD_SUBDIRECTORY(lemon) |
16 | 20 |
ADD_SUBDIRECTORY(demo) |
1 | 1 |
ACLOCAL_AMFLAGS = -I m4 |
2 | 2 |
|
3 | 3 |
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir) |
4 | 4 |
LDADD = $(top_builddir)/lemon/libemon.la |
5 | 5 |
|
6 | 6 |
EXTRA_DIST = \ |
7 | 7 |
AUTHORS \ |
8 | 8 |
LICENSE \ |
9 | 9 |
m4/lx_check_cplex.m4 \ |
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) |
17 | 21 |
bitsdir = $(lemondir)/bits |
18 | 22 |
conceptdir = $(lemondir)/concepts |
19 | 23 |
pkgconfig_DATA = |
20 | 24 |
lib_LTLIBRARIES = |
21 | 25 |
lemon_HEADERS = |
22 | 26 |
bits_HEADERS = |
23 | 27 |
concept_HEADERS = |
24 | 28 |
noinst_HEADERS = |
25 | 29 |
noinst_PROGRAMS = |
... | ... |
@@ -88,28 +88,29 @@ |
88 | 88 |
AC_C_CONST |
89 | 89 |
AC_C_INLINE |
90 | 90 |
AC_TYPE_SIZE_T |
91 | 91 |
AC_HEADER_TIME |
92 | 92 |
AC_STRUCT_TM |
93 | 93 |
|
94 | 94 |
dnl Checks for library functions. |
95 | 95 |
AC_HEADER_STDC |
96 | 96 |
AC_CHECK_FUNCS(gettimeofday times ctime_r) |
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 |
]) |
107 | 108 |
|
108 | 109 |
AC_OUTPUT |
109 | 110 |
|
110 | 111 |
echo |
111 | 112 |
echo '****************************** SUMMARY ******************************' |
112 | 113 |
echo |
113 | 114 |
echo Package version............... : $PACKAGE-$VERSION |
114 | 115 |
echo |
115 | 116 |
echo C++ compiler.................. : $CXX |
0 comments (0 inline)