Lemma is an Electromagnetics API
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CMakeLists.txt 653B

123456789101112131415161718192021222324
  1. include_directories(${CMAKE_INSTALL_PREFIX}/include)
  2. include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/include" )
  3. add_subdirectory("src")
  4. add_library( fdem1d ${FEM1DSOURCE} )
  5. target_link_libraries(fdem1d "lemmacore")
  6. set_target_properties(fdem1d PROPERTIES
  7. VERSION "${LEMMA_VERSION}"
  8. SOVERSION "${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}"
  9. PROJECT_LABEL "Lemma ${LABEL_SUFFIX}"
  10. )
  11. install ( TARGETS fdem1d DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  12. if (LEMMA_BUILD_EXAMPLES)
  13. add_subdirectory(examples)
  14. endif()
  15. if (LEMMA_ENABLE_TESTING)
  16. add_subdirectory(testing)
  17. endif()
  18. install ( TARGETS fdem1d DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )