[Owncloud] mirall cmake parameters changed

Klaas Freitag freitag at owncloud.com
Wed Jan 23 08:14:21 UTC 2013


Hey,

since the cmake find module for csync within mirall was clumsy I cleared 
it up yesterday to get rid of a problem wise domme was pointing to for 
month: the check used a relative pathes....

Long story short: You have to use different cmake parameters now if you 
want to build with a locally built csync from your dev setup instead of 
one installed from packages.

Use now:
  make -DCSYNC_BUILD_PATH=/home/you/owncloud/win/buildcsync \
       -DCSYNC_INCLUDE_PATH=/home/you/owncloud/csync/src \
       -DCMAKE_BUILD_TYPE=Debug \
 
-DCMAKE_TOOLCHAIN_FILE=/home/kf/owncloud/mirall/admin/win/Toolchain-mingw32-openSUSE.cmake 
  \
       ../../mirall
if you want to build for windows for example.

The parameter CSYNC_BUILD_PATH points to the top build directory of 
csync and CSYNC_INCLUDE_PATH points to the source dir of csync directly 
to the dir where the includes can be found.

does it work?

Klaas



More information about the Owncloud mailing list