CMake is working on Linux

    Still need to tests it on Windows and with the GUI with someone more
    experienced with CMake than me. Also needs to create the different
    static lib for all the compile options (with log without log...)