...

Text file src/github.com/google/flatbuffers/tests/docker/build_flatc.run.sh

Documentation: github.com/google/flatbuffers/tests/docker

     1set -e
     2
     3JOBS=${JOBS:-1}
     4config=$1
     5echo ""
     6echo "Build 'flatc' compiler for '$config'"
     7
     8cmake . -DCMAKE_BUILD_TYPE=$config \
     9  -DFLATBUFFERS_BUILD_FLATC=1 -DFLATBUFFERS_STATIC_FLATC=1 \
    10  -DFLATBUFFERS_BUILD_TESTS=0 -DFLATBUFFERS_INSTALL=0
    11cmake --build . --target flatc --clean-first -- -j$JOBS
    12
    13echo "Checking generated code"
    14scripts/check_generate_code.py
    15echo "Done"

View as plain text