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

CMakeLists.txt 414B

123456789101112131415161718
  1. include_directories(${CMAKE_INSTALL_PREFIX}/include)
  2. add_subdirectory("src")
  3. add_library( lemmacore ${SOURCE} )
  4. # Linking
  5. add_dependencies(lemmacore YAML-CPP)
  6. if (TINYXML_SUPPORT)
  7. add_dependencies(lemmacore TINYXML2)
  8. endif()
  9. if (MATIO_SUPPORT)
  10. add_dependencies(lemmacore MATIO)
  11. endif()
  12. if (VTK_SUPPORT)
  13. target_link_libraries(lemmacore ${VTK_LIBRARIES})
  14. endif()
  15. target_link_libraries(lemmacore "yaml-cpp")