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 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 )