mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
9 lines
290 B
Bash
Executable file
9 lines
290 B
Bash
Executable file
#!/bin/sh
|
|
mkdir -p "${TRAVIS_BUILD_DIR}/build"
|
|
cd "${TRAVIS_BUILD_DIR}/build" || false
|
|
cmake \
|
|
-DCMAKE_C_COMPILER="${CC}" \
|
|
-DCMAKE_CXX_COMPILER="${CXX}" \
|
|
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
|
|
-DCMAKE_BUILD_TYPE="${BUILD_TYPE:-Release}" \
|
|
-DBUILD_TESTS:BOOL="${BUILD_TESTS:-OFF}" ..
|