PageRenderTime 39ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/cf3/python/CMakeLists.txt

https://github.com/barche/coolfluid3
CMake | 55 lines | 49 code | 5 blank | 1 comment | 1 complexity | d3e141f78440f4be45d0526f71a4e51d MD5 | raw file
  1. if( CF3_HAVE_PYTHON )
  2. list( APPEND coolfluid_python_files
  3. BoostPython.hpp
  4. ComponentFilterPython.hpp
  5. ComponentFilterPython.cpp
  6. ComponentWrapper.hpp
  7. ComponentWrapper.cpp
  8. CoreWrapper.hpp
  9. CoreWrapper.cpp
  10. TableWrapper.hpp
  11. TableWrapper.cpp
  12. ListWrapper.hpp
  13. ListWrapper.cpp
  14. LibPython.hpp
  15. LibPython.cpp
  16. Math.hpp
  17. Math.cpp
  18. MatrixWrappers.hpp
  19. MatrixWrappers.cpp
  20. PythonAny.hpp
  21. PythonAny.cpp
  22. PythonModule.hpp
  23. PythonModule.cpp
  24. ScriptEngine.hpp
  25. ScriptEngine.cpp
  26. URIWrapper.hpp
  27. URIWrapper.cpp
  28. Utility.hpp
  29. NetworkXPython.hpp
  30. NetworkXPython.cpp
  31. TestAllOptions.hpp
  32. TestAllOptions.cpp
  33. TestSignals.hpp
  34. TestSignals.cpp
  35. )
  36. coolfluid3_add_library( TARGET coolfluid_python
  37. KERNEL
  38. PYTHON_MODULE
  39. SOURCES ${coolfluid_python_files}
  40. INCLUDES
  41. ${PYTHON_INCLUDE_DIRS}
  42. LIBS coolfluid_common coolfluid_mesh
  43. ${Boost_PYTHON_LIBRARY}
  44. ${PYTHON_LIBRARIES} )
  45. # Takes a lot of RAM to compile:
  46. set_source_files_properties(MatrixWrappers.cpp PROPERTIES COMPILE_FLAGS "-g0")
  47. configure_file( coolfluid.py ${CF3_DSO_DIR} COPYONLY )
  48. configure_file( networkxpython.py ${CF3_DSO_DIR} COPYONLY )
  49. configure_file( check.py ${CF3_DSO_DIR} COPYONLY )
  50. endif()