CMakeLists.txt 613 B

1234567891011121314151617181920212223242526272829
  1. project(examples)
  2. add_executable(example_sdata
  3. ReadingSData.cpp
  4. )
  5. target_sources(example_sdata PRIVATE
  6. ReadingSData.cpp
  7. )
  8. target_link_libraries(example_sdata PRIVATE
  9. hdf4cpp)
  10. target_compile_definitions(example_sdata PRIVATE
  11. "TEST_DATA_PATH=\"${TEST_DATA_PATH}\"")
  12. add_executable(example_vdata
  13. ReadingVData.cpp
  14. )
  15. target_sources(example_vdata PRIVATE
  16. ReadingVData.cpp)
  17. target_link_libraries(example_vdata PRIVATE
  18. hdf4cpp
  19. )
  20. target_compile_definitions(example_vdata PRIVATE
  21. "TEST_DATA_PATH=\"${TEST_DATA_PATH}\"")