[gecode-users] CMake config improvements
victor.zverovich at gmail.com
victor.zverovich at gmail.com
Tue Sep 2 20:56:31 CEST 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20140902/a3687ebf/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-update.patch
Type: text/x-patch
Size: 3956 bytes
Desc: not available
URL: <http://www.gecode.org/pipermail/users/attachments/20140902/a3687ebf/attachment.bin>
More information about the users
mailing list