Main Lemma Repository
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 685B

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