Functions | |
| not building Python bindings | else () message(STATUS "Found Python |
| endif () include($ | |
| CMake FindPythonModule cmake | find_python_module (distutils) if(NOT PY_DISTUTILS) not_found_return("distutils not found |
| macro (not_found_return message) message(STATUS "$ | |
| macro (add_python_binding name) endmacro() return() endmacro() if(NOT BUILD_PYTHON_BINDINGS) not_found_return("Not building Python bindings.") endif() find_package(PythonInterp) if(NOT PYTHON_EXECUTABLE) not_found_return("Python not found | |
| PROPERTY INCLUDE_DIRECTORIES | set (CYTHON_INCLDIRS "${CYTHON_INCLUDE_DIRECTORIES}") if(DEBUG) set(DISABLE_CFLAGS "NDEBUG |
| not building Python bindings else | ( | ) |
Definition at line 20 of file CMakeLists.txt.
| HAS_BFD_DL PARENT_SCOPE endif | ( | ) |
Definition at line 22 of file CMakeLists.txt.
References add_custom_command(), add_executable(), BINDING_TYPE_PYX, macro(), and python.
Referenced by add_custom_command(), add_executable(), add_go_binding(), if(), include_directories(), and set().
| CMake FindPythonModule cmake find_python_module | ( | distutils | ) |
| macro | ( | not_found_return | message | ) |
Definition at line 1 of file CMakeLists.txt.
| macro | ( | add_python_binding | name | ) |
| PROPERTY INCLUDE_DIRECTORIES set | ( | CYTHON_INCLDIRS "${CYTHON_INCLUDE_DIRECTORIES}" | ) |