wangzhengquan
2021-01-06 7285f5762bd3f1be94884730d9a28dd406f98fc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /bin/bash
 
[ -d build ] || mkdir build
rm -rf build/*
cd build
 
# -DCMAKE_BUILD_TYPE=Debug  | Release
# -DBUILD_SHARED_LIBS=ON
# -DCMAKE_INSTALL_PREFIX=$(pwd/../dest)
# -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man 
cmake -DCMAKE_INSTALL_PREFIX="$(pwd)/../dest" -DCMAKE_BUILD_TYPE=Debug -DSUPPORT_RDMA=OFF ..
 
cmake --build .
 
cmake --build . --target install