mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add --ccache option to configure script (requires CMake 3.10+).
This just provides a convient way of indicating that ccache should be used as compiler-wrapper during builds. e.g. when I want dev/debug builds that (re)compile quickly, I do: ./configure --build-type=debug --generator=Ninja --ccache
This commit is contained in:
parent
577357d509
commit
f8f343fd3a
4 changed files with 22 additions and 1 deletions
5
configure
vendored
5
configure
vendored
|
@ -25,6 +25,8 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
|
|||
- RelWithDebInfo: optimizations on,
|
||||
debug symbols on, debug flags off
|
||||
--generator=GENERATOR CMake generator to use (see cmake --help)
|
||||
--ccache use ccache to speed up recompilation (requires
|
||||
ccache installation and CMake 3.10+)
|
||||
|
||||
Installation Directories:
|
||||
--prefix=PREFIX installation directory [/usr/local/bro]
|
||||
|
@ -169,6 +171,9 @@ while [ $# -ne 0 ]; do
|
|||
--generator=*)
|
||||
CMakeGenerator="$optarg"
|
||||
;;
|
||||
--ccache)
|
||||
append_cache_entry ENABLE_CCACHE BOOL true
|
||||
;;
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
append_cache_entry CMAKE_INSTALL_PREFIX PATH $optarg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue