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

1234567891011121314151617
  1. #pybind11_add_module(pyFDEM1D MODULE pyFDEM1D.cpp)
  2. add_library(pyFDEM1D MODULE pyFDEM1D.cpp)
  3. target_link_libraries(pyFDEM1D PRIVATE pybind11::module lemmacore fdem1d )
  4. set_target_properties(pyFDEM1D PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}"
  5. SUFFIX "${PYTHON_MODULE_EXTENSION}"
  6. OUTPUT_NAME "FDEM1D"
  7. )
  8. install(TARGETS pyFDEM1D
  9. COMPONENT python
  10. RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/"
  11. LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/"
  12. ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/"
  13. )
  14. #install (FILES __init__.py DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/pyFDEM1D")