The proper way to check if a file exists, if you already know the full path name to the file is simply:
if(EXISTS "${ROOT}/configuration/${customer}/configuration.${project_name}.xml")
...
else()
...
endif()
The proper way to check if a file exists, if you already know the full path name to the file is simply:
if(EXISTS "${ROOT}/configuration/${customer}/configuration.${project_name}.xml")
...
else()
...
endif()