9 lines
244 B
Bash
Executable File
9 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
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}" \
|
|
-DBUILD_TESTS:BOOL="${BUILD_TESTS:-OFF}" ..
|