/home/ryan/src/mlpack.org/_src/mlpack-3.1.0/src/mlpack/bindings/python/CMakeLists.txt File Reference

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
 

Function Documentation

◆ else()

not building Python bindings else ( )

Definition at line 20 of file CMakeLists.txt.

◆ endif()

HAS_BFD_DL PARENT_SCOPE endif ( )

Definition at line 22 of file CMakeLists.txt.

References add_executable(), BINDING_TYPE_PYX, and macro().

Referenced by add_executable(), include_directories(), and set().

◆ find_python_module()

CMake FindPythonModule cmake find_python_module ( distutils  )

◆ macro() [1/2]

macro ( not_found_return  message)

Definition at line 1 of file CMakeLists.txt.

◆ macro() [2/2]

macro ( add_python_binding  name)

◆ set()

PROPERTY INCLUDE_DIRECTORIES set ( CYTHON_INCLDIRS "${CYTHON_INCLUDE_DIRECTORIES}"  )