gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Merge build system updates
0 4 1
merge 1.0
1 file changed with 38 insertions and 34 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
1
SET(PROJECT_NAME "@PACKAGE_NAME@")
2
SET(PROJECT_VERSION "@PACKAGE_VERSION@" CACHE STRING "LEMON version string.")
Ignore white space 6 line context
... ...
@@ -2,4 +2,8 @@
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

	
... ...
@@ -29,10 +33,4 @@
29 33
IF(WIN32)
30
  INSTALL(FILES ${CMAKE_SOURCE_DIR}/cmake/nsis/lemon.ico
31
    DESTINATION bin)
32
ENDIF(WIN32)
33

	
34
IF(WIN32)
35 34
  SET(CPACK_PACKAGE_NAME ${PROJECT_NAME})
36
  SET(CPACK_PACKAGE_VENDOR
37
    "EGRES - Egervary Research Group on Combinatorial Optimization")
35
  SET(CPACK_PACKAGE_VENDOR "EGRES")
38 36
  SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
... ...
@@ -48,32 +46,31 @@
48 46

	
49
  # Variables to generate a component-based installer.
50
  #SET(CPACK_COMPONENTS_ALL headers library html_documentation)
47
  SET(CPACK_COMPONENTS_ALL headers library html_documentation)
51 48

	
52
  #SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers")
53
  #SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Static library")
54
  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation")
49
  SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers")
50
  SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Dynamic-link library")
51
  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation")
55 52

	
56
  #SET(CPACK_COMPONENT_HEADERS_DESCRIPTION
57
  #  "C++ header files for use with the LEMON library")
58
  #SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION
59
  #  "Static library used to build programs with LEMON")
60
  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION
61
  #  "Doxygen generated documentation")
53
  SET(CPACK_COMPONENT_HEADERS_DESCRIPTION
54
    "C++ header files")
55
  SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION
56
    "DLL and import library")
57
  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION
58
    "Doxygen generated documentation")
62 59

	
63
  #SET(CPACK_COMPONENT_HEADERS_DEPENDS library)
60
  SET(CPACK_COMPONENT_HEADERS_DEPENDS library)
64 61

	
65
  #SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
66
  #SET(CPACK_COMPONENT_LIBRARY_GROUP "Development")
67
  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation")
62
  SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
63
  SET(CPACK_COMPONENT_LIBRARY_GROUP "Development")
64
  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation")
68 65

	
69
  #SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
70
  #  "Components needed to develop software using LEMON")
71
  #SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION
72
  #  "Documentation of LEMON")
66
  SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
67
    "Components needed to develop software using LEMON")
68
  SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION
69
    "Documentation of LEMON")
73 70

	
74
  #SET(CPACK_ALL_INSTALL_TYPES Full Developer)
71
  SET(CPACK_ALL_INSTALL_TYPES Full Developer)
75 72

	
76
  #SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
77
  #SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full)
78
  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
73
  SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
74
  SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full)
75
  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
79 76

	
Ignore white space 6 line context
... ...
@@ -12,3 +12,7 @@
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

	
Show white space 6 line context
modified binary file
Ignore white space 6 line context
... ...
@@ -99,3 +99,3 @@
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

	
... ...
@@ -103,2 +103,3 @@
103 103
Makefile
104
cmake/version.cmake
104 105
doc/Doxyfile
0 comments (0 inline)