Build shared library in travis.

This commit is contained in:
Hans-Kristian Arntzen 2019-03-04 11:38:39 +01:00
parent afef135dd8
commit 73db6f3437

View File

@ -47,6 +47,6 @@ script:
- ./build_glslang_spirv_tools.sh Release
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release -G "${GENERATOR}" -DPYTHON_EXECUTABLE:FILEPATH="${PYTHON3}"
- cmake .. -DSPIRV_CROSS_SHARED=ON -DCMAKE_BUILD_TYPE=Release -G "${GENERATOR}" -DPYTHON_EXECUTABLE:FILEPATH="${PYTHON3}"
- cmake --build . --config Release
- PATH="../external/glslang-build/output/bin:../external/spirv-tools-build/output/bin:$PATH" ctest --verbose -C Release