Hi Victor,
Thanks. I will smuggle this into 4.3.0 as I have to rebuild the sourcepackages anyway (there are syntax errors in the changelog). It should be up in two hours or so. Cheers Christian -- Christian Schulte, Professor of Computer Science, KTH, www.gecode.org/~schulte/ From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of victor.zverov...@gmail.com Sent: Tuesday, September 02, 2014 8:57 PM To: users@gecode.org Subject: [gecode-users] CMake config improvements Hello, Please find attached a patch which implements the following changes to the CMake build configuration: * Set the output directory for runtime target files (executables and DLLs) to bin/ subdirectory of the project's binary directory to avoid collisions when Gecode is used as a subproject. * Improve suppression of warnings. * Add GECODE_USE_QT variable which specifies whether to use Qt. Qt is used if GECODE_USE_QT is TRUE or unset. * Prevent linker warnings on MSVC. * Use per-target instead of global include directories. This simplifies use of Gecode as a subproject because add_target_libraries(<target> <gecode-lib>) now sets the necessary include directories for <target> in addition to link dependencies. * Fix by Tony Kelman to fully link internal dependencies needed for creating DLLs: https://github.com/ampl/gecode/pull/2 Best regards, Victor
_______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users