# MIT License # Copyright (c) 2023 SineStriker # Description: # Command that executes `configure_file`. # Usage: # cmake # -D input= # -D output= # -D force=TRUE/FALSE # [-D args=] # -P configure_file.cmake if(force AND EXISTS ${_output}) file(REMOVE ${_output}) endif() configure_file(${input} ${output} ${args})