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

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