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

123456789101112131415
  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. install(TARGETS pyFDEM1D
  7. COMPONENT python
  8. RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/"
  9. LIBRARY DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/"
  10. ARCHIVE DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/"
  11. )
  12. #install (FILES __init__.py DESTINATION "${CMAKE_INSTALL_PREFIX}/pyLemma/pyLemma/pyFDEM1D")