mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
1c49f335a2
* We need to apt-get some build dependencies, and switch to python3 for the sphinx build so it can load the module.
21 lines
391 B
Bash
21 lines
391 B
Bash
#!/bin/sh
|
|
|
|
# ignore "error" codes in the env script below
|
|
set +e
|
|
|
|
. /opt/qt56/bin/qt56-env.sh
|
|
|
|
set -ev
|
|
|
|
mkdir build
|
|
pushd build
|
|
|
|
# Do a minimal build with as little as possible to get the python modules
|
|
CC=gcc-6 CXX=g++-6 cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_GL=OFF -DENABLE_VULKAN=OFF -DENABLE_RENDERDOCCMD=OFF -DENABLE_QRENDERDOC=OFF ..
|
|
make -j2
|
|
|
|
popd
|
|
|
|
cd docs/
|
|
make html SPHINXOPTS=-W
|