Lemma is an Electromagnetics API
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 596B

1234567891011121314151617181920212223242526
  1. add_subdirectory("src")
  2. add_library( fdem1d ${FEM1DSOURCE} )
  3. target_include_directories( fdem1d PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include" )
  4. set_target_properties(fdem1d PROPERTIES
  5. VERSION "${LEMMA_VERSION}"
  6. SOVERSION "${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}"
  7. PROJECT_LABEL "FDEM1D ${LABEL_SUFFIX}"
  8. )
  9. # Linking
  10. target_link_libraries(fdem1d "lemmacore")
  11. # Testing
  12. if (LEMMA_ENABLE_TESTING)
  13. add_subdirectory(testing)
  14. endif()
  15. # Install
  16. install ( TARGETS fdem1d DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  17. # Examples
  18. if (LEMMA_BUILD_EXAMPLES)
  19. add_subdirectory(examples)
  20. endif()