frostalf / libtorrent

Automatically exported from code.google.com/p/libtorrent
0 stars 0 forks source link

improved cmake buildsystem #614

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://upload.beamng.com/patches/libtorrent_cmake.patch

- added static_runtime option to link with boost statically "_mt_s"
- simplified cmake syntax: endif() vs endif(...)
- deprecated ancient boost version switch, added missing chrono lib
- removed old workaround for boost 1.39
- fixed "-fno-exceptions" being used for MSVC
- globbing of examples and test files: no need to name the files

Original issue reported on code.google.com by tho...@thomasfischer.biz on 9 May 2014 at 6:58

GoogleCodeExporter commented 9 years ago
thanks! I've applied this patch and also added some missing files to build dht 
support.

Original comment by arvid.no...@gmail.com on 10 May 2014 at 7:10

GoogleCodeExporter commented 9 years ago
i improved it a bit so you can actually include this buildsystem in a bigger 
cmake buildsystem:

http://upload.beamng.com/patches/libtorrent-cmake2.patch

Original comment by tho...@thomasfischer.biz on 10 May 2014 at 4:36