Surface NMR forward modelling
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

CMakeLists.txt 1.2KB

123456789101112131415161718192021222324252627282930313233343536
  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. # Linking
  12. if ( LEMMA_VTK6_SUPPORT OR LEMMA_VTK7_SUPPORT )
  13. target_link_libraries(merlin ${VTK_LIBRARIES})
  14. # target_link_libraries(lemmacore "matplot")
  15. endif()
  16. # Testing
  17. if (LEMMA_ENABLE_TESTING)
  18. add_subdirectory(testing)
  19. endif()
  20. # Install
  21. install ( TARGETS merlin DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  22. install ( FILES include/Merlin DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma )
  23. install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma FILES_MATCHING PATTERN "*.h")
  24. #install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma/ FILES_MATCHING PATTERN "FDEM1D")
  25. #install ( DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_PREFIX}/include/Lemma/FDEM1D FILES_MATCHING PATTERN "*.h")
  26. # Examples
  27. if (LEMMA_BUILD_EXAMPLES)
  28. add_subdirectory(examples)
  29. endif()