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 |
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..." | ) |
HAS_BFD_DL PARENT_SCOPE endif | ( | ) |
Definition at line 165 of file CMakeLists.txt.
References BINDING_TYPE_PYX, endif(), macro(), and python.
macro | ( | not_found_return | message | ) |
Definition at line 1 of file CMakeLists.txt.
macro | ( | add_python_binding name | ) |
Definition at line 3 of file CMakeLists.txt.
src mlpack bindings python mlpack __init__ py __version__ |
Definition at line 41 of file CMakeLists.txt.
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().