Lemma is an Electromagnetics API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 579B

123456789101112131415161718192021222324
  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. target_link_libraries(lemmacore "matplot")
  15. endif()
  16. target_link_libraries(lemmacore "yaml-cpp")
  17. option( BUILDEXAMPLES "Compile example Lemma applications" OFF )
  18. if (BUILDEXAMPLES)
  19. add_subdirectory(examples)
  20. endif()