Hi there my project has job.sh in a root dir
the file contains
#!/bin/bash
#SBATCH --job-name=$(REPLACEME)
#SBATCH --tasks=4
#SBATCH --computers=1
run ./myApp
now I would like to somehow copy the file to builddir as well as replace $(REPLACEME) with Project name
not sure how to do the reeplacing part, as copying it easy
file(GENERATE OUTPUT job.sh INPUT job.sh)
Thanks for Anwsering and Best Regards