mirror of https://gitee.com/bigwinds/arangodb
allow to specify the directory for the windows client build
This commit is contained in:
parent
0f4b932717
commit
e10dca6417
|
@ -268,6 +268,12 @@ while [ $# -gt 0 ]; do
|
|||
shift
|
||||
;;
|
||||
|
||||
--clientBuildDir)
|
||||
shift
|
||||
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DCLIENT_BUILD_DIR=$1"
|
||||
shift
|
||||
;;
|
||||
|
||||
--cswgcc)
|
||||
export CC="/opt/csw/bin/gcc"
|
||||
export CXX="/opt/csw/bin/g++"
|
||||
|
|
|
@ -82,7 +82,11 @@ list(APPEND PACKAGES_LIST package-arongodb-server-zip)
|
|||
################################################################################
|
||||
# hook to build the client package
|
||||
################################################################################
|
||||
set(CLIENT_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR}/../p)
|
||||
string(LENGTH "${CLIENT_BUILD_DIR}" CLIENT_BUILD_DIR_LEN)
|
||||
if (${CLIENT_BUILD_DIR_LEN} EQUAL 0)
|
||||
set(CLIENT_BUILD_DIR ${CMAKE_CURRENT_BINARY_DIR}/../p)
|
||||
endif()
|
||||
|
||||
configure_file(cmake/packages/client/nsis.txt ${CLIENT_BUILD_DIR}/CMakeLists.txt @ONLY)
|
||||
add_custom_target(package-arongodb-client-nsis
|
||||
COMMAND ${CMAKE_COMMAND} .
|
||||
|
|
Loading…
Reference in New Issue