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

12345678910111213141516171819
  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. install ( TARGETS fdem1d DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )
  7. if (LEMMA_BUILD_EXAMPLES)
  8. add_subdirectory(examples)
  9. endif()
  10. if (LEMMA_ENABLE_TESTING)
  11. add_subdirectory(testing)
  12. endif()
  13. install ( TARGETS fdem1d DESTINATION ${CMAKE_INSTALL_PREFIX}/lib )