conan.sh 316 B

123456789101112
  1. #!/bin/bash
  2. if cmp -s "CMakeLists.txt" "CMakeLists.main"; then
  3. # We're using the original. Swap it out
  4. echo "Switching to conan build..."
  5. cp -f CMakeLists.conan CMakeLists.txt
  6. else
  7. # We're not using the original.
  8. echo "Switching to normal build..."
  9. cp -f CMakeLists.main CMakeLists.txt
  10. fi