Lines 12-19
Link Here
|
12 |
# Additional variables that affect cmake behaviour: |
12 |
# Additional variables that affect cmake behaviour: |
13 |
# |
13 |
# |
14 |
# User defined variables: |
14 |
# User defined variables: |
15 |
# CMAKE_VERBOSE - Enable verbose build output |
|
|
16 |
# Default: not set, unless BATCH or PACKAGE_BUILDING is defined |
17 |
# CMAKE_NOCOLOR - Disable colour build output |
15 |
# CMAKE_NOCOLOR - Disable colour build output |
18 |
# Default: not set, unless BATCH or PACKAGE_BUILDING is defined |
16 |
# Default: not set, unless BATCH or PACKAGE_BUILDING is defined |
19 |
# CMAKE_NINJA - Use ninja instead of make(1) |
17 |
# CMAKE_NINJA - Use ninja instead of make(1) |
Lines 80-97
Link Here
|
80 |
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \ |
78 |
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \ |
81 |
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \ |
79 |
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \ |
82 |
-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \ |
80 |
-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \ |
83 |
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES |
81 |
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES \ |
|
|
82 |
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON |
84 |
|
83 |
|
85 |
CMAKE_INSTALL_PREFIX?= ${PREFIX} |
84 |
CMAKE_INSTALL_PREFIX?= ${PREFIX} |
86 |
|
85 |
|
87 |
.if defined(BATCH) || defined(PACKAGE_BUILDING) |
86 |
.if defined(BATCH) || defined(PACKAGE_BUILDING) |
88 |
CMAKE_VERBOSE= yes |
|
|
89 |
CMAKE_NOCOLOR= yes |
87 |
CMAKE_NOCOLOR= yes |
90 |
.endif |
88 |
.endif |
91 |
|
89 |
|
92 |
.if defined(CMAKE_VERBOSE) |
|
|
93 |
CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON |
94 |
.endif |
95 |
.if defined(CMAKE_NOCOLOR) |
90 |
.if defined(CMAKE_NOCOLOR) |
96 |
CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF |
91 |
CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF |
97 |
.endif |
92 |
.endif |