Commit Graph

5173 Commits

Author SHA1 Message Date
Séverin Lemaignan
6ef9c2eee1 Create and install dlibConfig.cmake and dlibConfigVersion.cmake
This allows external project to include dlib by simply using
find_package(dlib REQUIRED)
and:
include_directories() / target_link_libraries(your_target )
2015-09-19 20:00:43 +01:00
Séverin Lemaignan
c90b7a0cd0 Always compile a static library (even in release mode) to ease deployment of examples
Install the static library along the shared one.
2015-09-19 20:00:43 +01:00
Séverin Lemaignan
99065fcdc0 Added (and configure in CMake) a revision.h.in containing the version number 2015-09-19 20:00:43 +01:00
Séverin Lemaignan
5effa144ab In release mode on unixes, configure and install config.h according to the compilation options
The name of some CMake variables has been changed to
follow the naming in config.h (and thus get the special #cmakedefine
directives to work as expected in config.h.in)
2015-09-19 20:00:43 +01:00
Séverin Lemaignan
fe0d1644d4 Added an install target for dlib
Implementing the design discussed in issue #34 (ie, installation only
in Release mode, for unix platforms).
2015-09-19 19:51:19 +01:00
Séverin Lemaignan
57fe26b539 Set the lib version in CMakeLists 2015-09-19 19:51:19 +01:00
Davis King
cadadf35b1 updated docs 2015-09-13 16:17:08 -04:00
Davis King
43d0bea29b Cleaned up the html a lot. The page doesn't use tables for layout anymore. 2015-09-13 16:06:45 -04:00
Davis King
af928c9a10 Moved the javascript and css into their own files. 2015-09-12 12:56:33 -04:00
Davis King
6795d931b7 Made the download button link to zip files when viewed from windows. 2015-09-12 08:42:48 -04:00
Davis King
bf57e86a3c Added improved download button CSS supplied by Jorge Toro. 2015-09-12 08:24:46 -04:00
Davis King
a47551eb55 Added a check that you don't mix matrix types (float vs. double) when using
set_ptrm().
2015-09-04 08:48:50 -04:00
Davis King
fe54cfa12a updated docs 2015-09-03 23:01:40 -04:00
Davis King
890abf7399 Added set_ptrm() along with all the aliasing detection updates necessary to
allow assignment statements with mixed dlib::matrix and mat(T*) expressions
that might alias each other.  Also updated BLAS bindings to bind to set_ptrm()
assignments.
2015-09-03 22:57:29 -04:00
Davis King
c45abebb9b updated makefile to avoid warnings from cmake 2015-09-03 22:20:51 -04:00
Davis E. King
6c2811da40 Merge pull request #29 from dashesy/setup_py
Setup py
2015-08-28 06:08:31 -04:00
Ehsan Azarnasab
5c06db0e35 add python 3 as supported in the classifiers 2015-08-27 19:07:28 -07:00
Ehsan Azarnasab
2fee9b3915 use newest visual studio as generator if multiple installed 2015-08-27 08:22:09 -07:00
Ehsan Azarnasab
61ec7aa862 if no cmake generator is set use same logic as cmake to find default buid generator but use Win64 if the build is for 64bit Python 2015-08-26 20:03:49 -07:00
Davis King
f2868add01 Improved finding of X11 on mac os 2015-08-26 20:28:19 -04:00
Ehsan Azarnasab
cdce208ef1 cannot automatically select Win64 toolchain on Windows by setting simple flags 2015-08-26 17:15:40 -07:00
Ehsan Azarnasab
6e2ed37f76 find 64bit Python libraries on 64bit Windows when cmake is 32bit 2015-08-26 14:53:13 -07:00
Ehsan Azarnasab
1c6ba8a1b1 fix argument parsing, also there is no trim, should have used strip. 2015-08-24 09:11:55 -07:00
Ehsan Azarnasab
e469105178 use Python's architecture to give cmake a clue to generate the right config 2015-08-23 10:53:13 -07:00
Ehsan Azarnasab
8e2ec4cc6a option to pass build system generator to cmake 2015-08-23 10:02:20 -07:00
Ehsan Azarnasab
2f7958e4f9 decode process output as latin-1 for Python3 to also work 2015-08-22 12:59:42 -07:00
Ehsan Azarnasab
fd75d43efb simplify logic 2015-08-21 13:56:34 -07:00
Ehsan Azarnasab
d1bafb5ae0 simplify passing cmake yes and no options. 2015-08-21 13:54:49 -07:00
Ehsan Azarnasab
34e73a6b6d make sure only relevant platform artifacts are packaged.
avoid foreign artifacts potentially left over from VM builts.
2015-08-21 11:31:16 -07:00
Ehsan Azarnasab
acf61103b6 set sid only on posix 2015-08-20 20:01:54 -07:00
Ehsan Azarnasab
08fb925b34 always clean up dist folder to have a clean sdist and clean builds 2015-08-20 18:03:18 -07:00
Ehsan Azarnasab
a61a8d5637 package no build binaies in sdist 2015-08-20 15:17:48 -07:00
Ehsan Azarnasab
2272be1f29 fix argument parsing for cmake option 2015-08-20 14:52:42 -07:00
Ehsan Azarnasab
eccfd6e57b fix argument parsing for cmake option 2015-08-20 14:51:21 -07:00
Ehsan Azarnasab
78203d3607 fix copy-pasted template 2015-08-20 14:42:13 -07:00
Ehsan Azarnasab
25f0ab83cb only check cmake existence if building in required 2015-08-20 14:33:45 -07:00
Ehsan Azarnasab
93818fd7e4 only change option key and not its value, which could be case sensitive.
make sure --cmake can be used to pass any cmake not in the path.
2015-08-20 14:28:06 -07:00
Ehsan Azarnasab
9e4fe65c47 add __version__ and import extension to the package 2015-08-20 12:21:27 -07:00
Ehsan Azarnasab
26b9de7006 add classifiers to setup.py 2015-08-20 10:51:07 -07:00
Ehsan Azarnasab
69ff6a3fff make sure sdist includes all necessary packages and no build directories 2015-08-20 10:29:13 -07:00
Ehsan Azarnasab
ae5c624272 move setup.py 2 levels up to avoid the need to git submodules to link to source 2015-08-20 09:42:44 -07:00
Ehsan Azarnasab
bbfae95029 clean up options 2015-08-20 09:38:57 -07:00
Ehsan Azarnasab
03c0ccb999 clean up module license 2015-08-19 17:43:15 -07:00
Ehsan Azarnasab
c8d0e264c3 initial manifest file to include distribution 2015-08-19 17:43:01 -07:00
Ehsan Azarnasab
5f7e3cb76c read version infor from docs 2015-08-19 16:59:28 -07:00
Ehsan Azarnasab
a2cd5d441e remove used options from argv 2015-08-19 16:49:45 -07:00
Ehsan Azarnasab
e8b161017b initial setup.py commit. Will build and create distribution directory. 2015-08-19 16:43:42 -07:00
Ehsan Azarnasab
c2aa1c2da2 ignore dist directory as well as egg directories 2015-08-19 16:25:10 -07:00
Davis King
d96711ed7d Created release v18.17 2015-08-15 22:27:02 -04:00
Davis King
dec47ce2ab Added tag v18.17 for changeset ce6f36498786 2015-08-15 22:27:02 -04:00