gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Install lemon/config.h (#274)
0 5 0
default
5 files changed with 25 insertions and 3 deletions:
↑ Collapse diff ↑
Ignore white space 4 line context
... ...
@@ -15,4 +15,6 @@
15 15
INCLUDE(FindGhostscript)
16 16

	
17
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
18

	
17 19
INCLUDE(CheckTypeSize)
18 20
CHECK_TYPE_SIZE("long long" LONG_LONG)
Ignore white space 4 line context
1
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
1
INCLUDE_DIRECTORIES(
2
  ${CMAKE_SOURCE_DIR}
3
  ${PROJECT_BINARY_DIR}
4
)
2 5

	
3 6
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
Ignore white space 4 line context
1
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
1
INCLUDE_DIRECTORIES(
2
  ${CMAKE_SOURCE_DIR}
3
  ${PROJECT_BINARY_DIR}
4
)
5

	
6
CONFIGURE_FILE(
7
  ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
8
  ${CMAKE_CURRENT_BINARY_DIR}/config.h
9
)
2 10

	
3 11
ADD_LIBRARY(lemon
... ...
@@ -19,2 +27,7 @@
19 27
  COMPONENT headers
20 28
  FILES_MATCHING PATTERN "*.h")
29

	
30
INSTALL(
31
  FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
32
  DESTINATION include/lemon
33
  COMPONENT headers)
Ignore white space 4 line context
... ...
@@ -24,4 +24,5 @@
24 24
        lemon/color.h \
25 25
	lemon/concept_check.h \
26
	lemon/config.h \
26 27
        lemon/counter.h \
27 28
	lemon/core.h \
Ignore white space 4 line context
1
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
1
INCLUDE_DIRECTORIES(
2
  ${CMAKE_SOURCE_DIR}
3
  ${PROJECT_BINARY_DIR}
4
)
2 5

	
3 6
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
0 comments (0 inline)