Sha256: 409982bf927f3e9a4250b266773f5c8b5f9fddf2e62a9984b1077dac17ffea69

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)


set(USE_SSE4_INSTRUCTIONS ON CACHE BOOL "Use SSE4 instructions")
include(../../dlib/cmake_utils/add_python_module)

add_definitions(-DDLIB_VERSION=${DLIB_VERSION})

# Tell cmake to compile all these cpp files into a dlib python module.
set(python_srcs
   src/dlib.cpp
   src/matrix.cpp
   src/vector.cpp
   src/svm_c_trainer.cpp
   src/svm_rank_trainer.cpp
   src/decision_functions.cpp
   src/other.cpp
   src/basic.cpp
   src/cca.cpp
   src/sequence_segmenter.cpp
   src/svm_struct.cpp
   src/image.cpp
   src/rectangles.cpp
   src/object_detection.cpp
   src/shape_predictor.cpp
   src/correlation_tracker.cpp
   src/face_recognition.cpp
)

# Only add the GUI module if requested
if(NOT ${DLIB_NO_GUI_SUPPORT})
   list(APPEND python_srcs src/gui.cpp)
endif(NOT ${DLIB_NO_GUI_SUPPORT})

add_python_module(dlib ${python_srcs})

# When you run "make install" we will copy the compiled dlib.so (or dlib.pyd) 
# library file to the python_examples folder.
install_dlib_to(../../python_examples)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dlib-1.2.2 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.2.1 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.2.0 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.1.5 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.1.4 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.1.3 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.1.2 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.1.1 ext/dlib-19.4/tools/python/CMakeLists.txt
dlib-1.1.0 ext/dlib-19.4/tools/python/CMakeLists.txt