cmake.sh 319 B

123456789101112
  1. #!/bin/bash
  2. set -eux
  3. cmake . -D CMAKE_BUILD_TYPE=Debug
  4. cmake --build . --config Debug --clean-first
  5. ctest -C Debug --output-on-failure -E 'dfa|exhaustive|random'
  6. cmake . -D CMAKE_BUILD_TYPE=Release
  7. cmake --build . --config Release --clean-first
  8. ctest -C Release --output-on-failure -E 'dfa|exhaustive|random'
  9. exit 0