13 lines
223 B
Bash
Executable File
13 lines
223 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export DESTDIR="$1"
|
|
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DBUILD_SHARED_LIBS=1
|
|
|
|
cmake --build build
|
|
cmake --install build
|