//////////////////////////////////////////////////////////////////////////////////////////
///
///   DEPENDANCES

NAME		VERSION
---------------------
Cuda		7.5
OpenCV		2.4.11
CMake		3.2
Qt			5
Rapidjson	included
Spline		included

//////////////////////////////////////////////////////////////////////////////////////////
///
///   COMPILATION PROCESS

------------------------------------------------------------------------------------------
HOW IT WORKS

The compilation and installation of this project is configured using several CMakeLists.txt file.

Each target have their CMakeLists.txt configuration files, except for the binaries:

Header-Only targets:
	rapidjson	- from the directory "Library/rapidjson"
	spline		-  from the directory "Library/spline"

Build archive targets:
	libTobiiSDK.a	- from the directory "Sources/TobiiSDK"

Executable have to be placed in "Sources/Binaries", in their own folder,
which should contain all the sources of this execuable.
Example:
	"Sources/Binaries/LiveGaze/*.cpp, *.hpp, *.hxx, *.h"

The CMakeLists.txt file located in "Sources/Binaries" creates one target per sub-folders,
links them with all libraries, and sets their compilation output folders.

------------------------------------------------------------------------------------------
HOW TO RUN IT

To run compilation use the shell scrip "./Sources/Compile.command":
- use ./Sources/Compile.command -cmake to run cmake (set the folders, copy headers to build dir, create the makefiles)
- use ./Sources/Compile.command -make  to run make (compile and link everithing)
- use ./Sources/Compile.command -install to do both

To delete compiled file:
- use ./Sources/Compile.command -clean     to delete binaries
- use ./Sources/Compile.command -uninstall to delete everything

Note:
- you may need to do "chmod 777 ./Sources/Compile.command" to be allowed to execute it.
- you may need to re-run cmake if you have modified one of the header files in TobiiSDK,
because they are copied in the build folder at this step. simply run eather:
./Sources/Compile.command -cmake
./Sources/Compile.command -install (to also do make)


//////////////////////////////////////////////////////////////////////////////////////////
///
///   DEPENDANCES RESOLUTIONS

The header and libraries are search-for using the cmake file "CMakeList.txt"
located in the "./Sources" folder:

- The command FIND_PACKAGE is use to locate libraries installed in default system folders like:
/usr/
/usr/local/
/usr/local/shared/
This is the recommanded way to link dependances to this project.

- Then the  header dependencies are specified on line 105, using the command "INCLUDE_DIRECTORIES"
If you with to add custom header directory location, add them their.

- Finaly he libraries search paths are specified  on line 80, using the command "LINK_DIRECTORIES"
If you with to add custom libraries location, add them their.
You must also specify the name of the associated library
in the the "SET ( LIBRARIES_LIST ... )" commande found in the same file, on line 88.