2
0
mirror of https://github.com/boostorg/hof.git synced 2026-02-01 08:32:12 +00:00

Put headers in a variable

This commit is contained in:
Paul
2016-01-13 12:01:36 -06:00
parent 34680b7012
commit ef75779ae5

View File

@@ -156,7 +156,8 @@ script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX_PATH ..
- CTEST_OUTPUT_ON_FAILURE=1 CTEST_PARALLEL_LEVEL=2 make -j2 check VERBOSE=1
- make install
- for file in fit/*.h; do echo -e "#include <$file>\nint main() {}" | clang++ -std=c++0x `pkg-config fit --cflags` -x c++ -S -; done
- HEADERS=$(echo fit/*.h)
- for file in $HEADERS; do echo -e "#include <$file>\nint main() {}" | clang++ -std=c++0x `pkg-config fit --cflags` -x c++ -S -; done
- cd .. && rm -rf build/
- rm -rf "$INSTALL_PREFIX_PATH"