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

123456789101112131415161718
  1. # create the lib
  2. #add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR} )
  3. #pybind11_add_module(pyLemmaCore pyLemmaCore.cpp)
  4. add_library(pyLemmaCore MODULE pyLemmaCore.cpp)
  5. target_link_libraries(pyLemmaCore PRIVATE pybind11::module lemmacore )
  6. set_target_properties(pyLemmaCore PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}"
  7. SUFFIX "${PYTHON_MODULE_EXTENSION}"
  8. OUTPUT_NAME "LemmaCore"
  9. )
  10. install(TARGETS pyLemmaCore
  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. )