Surface NMR forward modelling
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 1.0KB

123456789101112131415161718192021222324252627282930
  1. add_subdirectory("src")
  2. add_library( merlin ${MERLINSOURCE} )
  3. target_include_directories( merlin PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
  4. set_target_properties(merlin PROPERTIES
  5. VERSION "${LEMMA_VERSION_NOQUOTES}"
  6. SOVERSION "${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}"
  7. PROJECT_LABEL "FDEM1D ${LABEL_SUFFIX}"
  8. )
  9. # Linking
  10. target_link_libraries(merlin "lemmacore" "fdem1d" )
  11. # Testing
  12. if (LEMMA_ENABLE_TESTING)
  13. add_subdirectory(testing)
  14. endif()
  15. # Install
  16. install ( TARGETS merlin DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  17. install ( FILES include/MERLIN DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma )
  18. install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma FILES_MATCHING PATTERN "*.h")
  19. #install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma/ FILES_MATCHING PATTERN "FDEM1D")
  20. #install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma/FDEM1D FILES_MATCHING PATTERN "*.h")
  21. # Examples
  22. if (LEMMA_BUILD_EXAMPLES)
  23. add_subdirectory(examples)
  24. endif()