equal
deleted
inserted
replaced
7 SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.") |
7 SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.") |
8 ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake) |
8 ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake) |
9 |
9 |
10 PROJECT(${PROJECT_NAME}) |
10 PROJECT(${PROJECT_NAME}) |
11 |
11 |
12 SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) |
12 SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) |
13 |
13 |
14 INCLUDE(FindDoxygen) |
14 INCLUDE(FindDoxygen) |
15 INCLUDE(FindGhostscript) |
15 INCLUDE(FindGhostscript) |
16 FIND_PACKAGE(GLPK 4.33) |
16 FIND_PACKAGE(GLPK 4.33) |
17 |
17 |
36 CHECK_TYPE_SIZE("long long" LONG_LONG) |
36 CHECK_TYPE_SIZE("long long" LONG_LONG) |
37 |
37 |
38 ENABLE_TESTING() |
38 ENABLE_TESTING() |
39 |
39 |
40 ADD_SUBDIRECTORY(lemon) |
40 ADD_SUBDIRECTORY(lemon) |
41 ADD_SUBDIRECTORY(demo) |
41 IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
42 ADD_SUBDIRECTORY(tools) |
42 ADD_SUBDIRECTORY(demo) |
43 ADD_SUBDIRECTORY(doc) |
43 ADD_SUBDIRECTORY(tools) |
44 ADD_SUBDIRECTORY(test) |
44 ADD_SUBDIRECTORY(doc) |
|
45 ADD_SUBDIRECTORY(test) |
|
46 ENDIF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
45 |
47 |
46 IF(WIN32) |
48 IF(WIN32) |
47 SET(CPACK_PACKAGE_NAME ${PROJECT_NAME}) |
49 SET(CPACK_PACKAGE_NAME ${PROJECT_NAME}) |
48 SET(CPACK_PACKAGE_VENDOR "EGRES") |
50 SET(CPACK_PACKAGE_VENDOR "EGRES") |
49 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY |
51 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY |