Lemma is an Electromagnetics API
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

CMakeLists.txt 442B

1234567891011121314151617181920
  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")
  16. add_subdirectory(examples)