Changes between Version 7 and Version 8 of jazz/ocsync


Ignore:
Timestamp:
Nov 8, 2012, 9:06:44 PM (12 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/ocsync

    v7 v8  
    2525 * We want to build Windows Client , so we will have to isntall 32/64 bits mingw-w64
    2626{{{
    27 jazz@precise:~$ sudo apt-get install mingw-w64 mingw-w64-dev g++-mingw-w64 gcc-mingw-w64
     27jazz@precise:~$ sudo apt-get install mingw-w64 mingw-w64-dev g++-mingw-w64 gcc-mingw-w64
     28}}}
     29 * We will need a cmake toolchain file
     30 * [Reference] http://www.cmake.org/Wiki/CmakeMingw
     31{{{
     32jazz@precise:~$ wget http://www.cmake.org/Wiki/images/c/c2/Toolchain-cross-mingw32-linux.cmake
    2833}}}
    2934
     
    3540jazz@precise:~$ tar jxvf ocsync-0.60.1.tar.bz2
    3641jazz@precise:~$ cd ~/ocsync-0.60.1/build
    37 jazz@precise:~/ocsync-0.60.1/build$ cmake -DSQLITE3_INCLUDE_DIR=~/Toolchain-cross-mingw32-linux.cmake -DSQLITE3_INCLUDE_DIR=/usr/include -DSQLITE3_LIBRARY=/usr/lib/i386-linux-gnu/libsqlite3.so -DINIPARSER_INCLUDE_DIRS=~/iniparser/src/ -DINIPARSER_LIBRARIES=/usr/lib/libiniparser.so.0 ..
     42jazz@precise:~/ocsync-0.60.1/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-cross-mingw32-linux.cmake -DSQLITE3_INCLUDE_DIR=~/Toolchain-cross-mingw32-linux.cmake -DSQLITE3_INCLUDE_DIR=/usr/include -DSQLITE3_LIBRARY=/usr/lib/i386-linux-gnu/libsqlite3.so -DINIPARSER_INCLUDE_DIRS=~/iniparser/src/ -DINIPARSER_LIBRARIES=/usr/lib/libiniparser.so.0 ..
    3843jazz@precise:~/ocsync-0.60.1/build$ make
    3944}}}