fix @warning preprocessor directive to work in msvc as well

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10490 a83610d8-ad2a-0410-a6ab-fc0612d85776
apply Jakob Petsovits' patch for include path order for cmake

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10491 a83610d8-ad2a-0410-a6ab-fc0612d85776
merge Jakob Petsovits' patch to separate CMakeLists.txt for examples

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10492 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix client_test to not use internal libtorrent functions

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10493 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix windows build of client_test

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10497 a83610d8-ad2a-0410-a6ab-fc0612d85776
one more attempt for fixing the windows build

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10498 a83610d8-ad2a-0410-a6ab-fc0612d85776
fix test_torrent_parse for windows

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10499 a83610d8-ad2a-0410-a6ab-fc0612d85776
don't rely on TORRENT_EXTRA_EXPORT in examples

git-svn-id: svn://svn.code.sf.net/p/libtorrent/code/branches/RC_1_0@10500 a83610d8-ad2a-0410-a6ab-fc0612d85776
CMake build: Improve FindLibtorrentRasterbar.cmake and examples/CMakeLists.txt.

More flexible, more correct, more better than before.
CMake build: Allow exclusion of Boost.Asio sources from the build.

By passing "-D asio_source=OFF" to cmake, it's possible to build
the Asio compilation unit in a parent project, which makes it
easier to combine libtorrent with other libraries that also depend
on Asio.
CMake build: Always create the examples directory, remove option, add convenience script.
CMake build: Allow building with C++11 support.
CMake build: Automatic clang color diagnostics when building with Ninja.