Lemma is an Electromagnetics API
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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