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

Functions

PROPERTY INCLUDE_DIRECTORIES add_custom_target (python_configure COMMAND ${CMAKE_COMMAND} -D GENERATE_CPP_IN=${CMAKE_SOURCE_DIR}/src/mlpack/bindings/python/setup.py.in -D GENERATE_CPP_OUT=${CMAKE_BINARY_DIR}/src/mlpack/bindings/python/setup.py -D PACKAGE_VERSION="${PACKAGE_VERSION}" -D ARMADILLO_LIBRARIES="${ARMADILLO_LIBRARIES}" -D MLPACK_LIBRARY=$< TARGET_LINKER_FILE:mlpack > -D MLPACK_LIBDIR=$< TARGET_LINKER_FILE_DIR:mlpack > -D MLPACK_PYXS="${MLPACK_PYXS}" -D OpenMP_CXX_FLAGS="${OpenMP_CXX_FLAGS}" -D DISABLE_CFLAGS="${DISABLE_CFLAGS}" -D CYTHON_INCLUDE_DIRECTORIES="${CYTHON_INCLUDE_DIRECTORIES}" -D CMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -D OUTPUT_DIR=${CMAKE_BINARY_DIR} -P "${CMAKE_SOURCE_DIR}/CMake/ConfigureFile.cmake" BYPRODUCTS "${CMAKE_BINARY_DIR}/src/mlpack/bindings/python/setup.py" COMMENT "Configuring setup.py...") add_dependencies(python_configure python_copy) add_dependencies(python_configured python_configure) file(APPEND $
 
HAS_BFD_DL PARENT_SCOPE endif () add_custom_target(python ALL DEPENDS mlpack) add_custom_target(python_copy ALL DEPENDS mlpack) add_custom_target(python_configured ALL) add_custom_command(TARGET python_copy PRE_BUILD COMMAND $
 
 macro (not_found_return message) message(STATUS "$
 
 macro (add_python_binding name) endmacro() macro(add_python_wrapper group_name) endmacro() return() endmacro() macro(post_python_bindings) if(BUILDING_PYTHON_BINDINGS) get_property(CYTHON_INCLUDE_DIRECTORIES DIRECTORY $
 

Variables

src mlpack bindings python mlpack __init__ py __version__
 
the following modules are not available
 

Function Documentation

◆ add_custom_target()

PROPERTY INCLUDE_DIRECTORIES add_custom_target ( python_configure COMMAND ${CMAKE_COMMAND} -D  GENERATE_CPP_IN = ${CMAKE_SOURCE_DIR}/src/mlpack/bindings/python/setup.py.in -D GENERATE_CPP_OUT=${CMAKE_BINARY_DIR}/src/mlpack/bindings/python/setup.py -D PACKAGE_VERSION="${PACKAGE_VERSION}" -D ARMADILLO_LIBRARIES="${ARMADILLO_LIBRARIES}" -D MLPACK_LIBRARY=$<TARGET_LINKER_FILE:mlpack> -D MLPACK_LIBDIR=$<TARGET_LINKER_FILE_DIR:mlpack> -D MLPACK_PYXS="${MLPACK_PYXS}" -D OpenMP_CXX_FLAGS="${OpenMP_CXX_FLAGS}" -D DISABLE_CFLAGS="${DISABLE_CFLAGS}" -D CYTHON_INCLUDE_DIRECTORIES="${CYTHON_INCLUDE_DIRECTORIES}" -D CMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -D OUTPUT_DIR=${CMAKE_BINARY_DIR} -P "${CMAKE_SOURCE_DIR}/CMake/ConfigureFile.cmake" BYPRODUCTS "${CMAKE_BINARY_DIR}/src/mlpack/bindings/python/setup.py" COMMENT "Configuring setup.py...")

Definition at line 19 of file CMakeLists.txt.

References python.

Referenced by macro().

◆ endif()

HAS_BFD_DL PARENT_SCOPE endif ( )

Definition at line 165 of file CMakeLists.txt.

References BINDING_TYPE_PYX, endif(), macro(), and python.

◆ macro() [1/2]

macro ( not_found_return  message)

Definition at line 1 of file CMakeLists.txt.

◆ macro() [2/2]

macro ( add_python_binding name  )

Definition at line 3 of file CMakeLists.txt.

Variable Documentation

◆ __version__

src mlpack bindings python mlpack __init__ py __version__

Definition at line 41 of file CMakeLists.txt.

◆ available

n testthat Following modules are not Following modules are not available

Definition at line 87 of file CMakeLists.txt.

Referenced by get_property(), and if().