Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
bbf64794
Commit
bbf64794
authored
Apr 17, 2018
by
Kirill Erofeev
Committed by
Brad King
Apr 17, 2018
Browse files
bootstrap: Add option to enable/disable usage of system libuv
parent
61fd4c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
bootstrap
View file @
bbf64794
...
...
@@ -569,6 +569,8 @@ Configuration:
--no-system-libarchive use cmake-provided libarchive library (default)
--system-librhash use system-installed librhash library
--no-system-librhash use cmake-provided librhash library (default)
--system-libuv use system-installed libuv library
--no-system-libuv use cmake-provided libuv library (default)
--qt-gui build the Qt-based GUI (requires Qt >= 4.2)
--no-qt-gui do not build the Qt-based GUI (default)
...
...
@@ -803,10 +805,10 @@ while test $# != 0; do
--init
=
*
)
cmake_init_file
=
`
cmake_arg
"
$1
"
`
;;
--system-libs
)
cmake_bootstrap_system_libs
=
"
${
cmake_bootstrap_system_libs
}
-DCMAKE_USE_SYSTEM_LIBRARIES=1"
;;
--no-system-libs
)
cmake_bootstrap_system_libs
=
"
${
cmake_bootstrap_system_libs
}
-DCMAKE_USE_SYSTEM_LIBRARIES=0"
;;
--system-bzip2
|
--system-curl
|
--system-expat
|
--system-jsoncpp
|
--system-libarchive
|
--system-librhash
|
--system-zlib
|
--system-liblzma
)
--system-bzip2
|
--system-curl
|
--system-expat
|
--system-jsoncpp
|
--system-libarchive
|
--system-librhash
|
--system-zlib
|
--system-liblzma
|
--system-libuv
)
lib
=
`
cmake_arg
"
$1
"
"--system-"
`
cmake_bootstrap_system_libs
=
"
${
cmake_bootstrap_system_libs
}
-DCMAKE_USE_SYSTEM_LIBRARY_
`
cmake_toupper
$lib
`
=1"
;;
--no-system-bzip2
|
--no-system-curl
|
--no-system-expat
|
--no-system-jsoncpp
|
--no-system-libarchive
|
--no-system-librhash
|
--no-system-zlib
|
--no-system-liblzma
)
--no-system-bzip2
|
--no-system-curl
|
--no-system-expat
|
--no-system-jsoncpp
|
--no-system-libarchive
|
--no-system-librhash
|
--no-system-zlib
|
--no-system-liblzma
|
--no-system-libuv
)
lib
=
`
cmake_arg
"
$1
"
"--no-system-"
`
cmake_bootstrap_system_libs
=
"
${
cmake_bootstrap_system_libs
}
-DCMAKE_USE_SYSTEM_LIBRARY_
`
cmake_toupper
$lib
`
=0"
;;
--qt-gui
)
cmake_bootstrap_qt_gui
=
"1"
;;
...
...
Brad King
@brad.king
mentioned in commit
886d813b
·
Apr 17, 2018
mentioned in commit
886d813b
mentioned in commit 886d813b479329023117a5b2022f717c7f6aa64a
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment