Main Lemma Repository
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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