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 587B

123456789101112131415161718192021222324
  1. include_directories(${CMAKE_INSTALL_PREFIX}/include)
  2. add_compile_options(-std=c++11 -DHAVE_YAMLCPP)
  3. #file(GLOB LemmaCore_SRC
  4. # "${CMAKE_CURRENT_DIR}/src/*.cpp"
  5. #)
  6. add_subdirectory("src")
  7. # TODO fill all the files
  8. add_library( lemmacore ${SOURCE} )
  9. # "src/lemma.cpp"
  10. # "src/dipolesource.cpp"
  11. # "src/GroundedElectricDipole.cpp"
  12. # "src/UngroundedElectricDipole.cpp"
  13. #)
  14. add_dependencies(lemmacore YAML-CPP)
  15. add_dependencies(lemmacore TINYXML2)
  16. add_dependencies(lemmacore MATIO)
  17. target_link_libraries(lemmacore ${VTK_LIBRARIES})
  18. target_link_libraries(lemmacore "yaml-cpp")