CMakeLists.txt 642 B

12345678910111213141516171819202122
  1. # Test adding the same data file in multiple tests
  2. ExternalData_Add_Test(Data5.A
  3. NAME Data5Check.A
  4. COMMAND ${CMAKE_COMMAND}
  5. -D Data5=DATA{../Data.dat}
  6. -P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake
  7. )
  8. ExternalData_Add_Target(Data5.A)
  9. ExternalData_Add_Test(Data5.B
  10. NAME Data5Check.B
  11. COMMAND ${CMAKE_COMMAND}
  12. -D Data5=DATA{../Data.dat}
  13. -P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake
  14. )
  15. ExternalData_Add_Target(Data5.B)
  16. ExternalData_Add_Test(Data5.C
  17. NAME Data5Check.C
  18. COMMAND ${CMAKE_COMMAND}
  19. -D Data5=DATA{../Data.dat}
  20. -P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake
  21. )
  22. ExternalData_Add_Target(Data5.C)