Codebase list votca-xtp / upstream/1.6.1 tutorials / CMakeModules / FileExists.cmake
upstream/1.6.1

Tree @upstream/1.6.1 (Download .tar.gz)

FileExists.cmake @upstream/1.6.1raw · history · blame

1
2
3
4
5
if(EXISTS ${FileToCheck})
  message("${FileToCheck} exists.")
else()
  message(FATAL_ERROR "${FileToCheck} doesn't exist.")
endif()