#!/bin/bash if cmp -s "CMakeLists.txt" "CMakeLists.main"; then # We're using the original. Swap it out echo "Switching to conan build..." cp -f CMakeLists.conan CMakeLists.txt else # We're not using the original. echo "Switching to normal build..." cp -f CMakeLists.main CMakeLists.txt fi