nghttp2/examples
Peter Wu 7f8110601e cmake: fix compatibility with cmake before 3.3
The COMPILE_LANGUAGE generator expression is only supported since CMake
3.3. Moreover, it does not work with all generators (works with Makefile
and Ninja, but not with Visual Studio).

target_compile_options would only work if a target does not mix C and
C++ sources, since the flags are intended to be set for a specific
language, use set_source_files_properties instead. This approach is also
less repetitive.

Drop the idea of using lists and COMPILE_OPTIONS,
set_source_files_properties only understands COMPILE_FLAGS (a single
string, not a list).
2016-03-13 12:30:41 +01:00
..
.gitignore examples: Update .gitignore 2015-03-06 03:14:26 +09:00
CMakeLists.txt cmake: fix compatibility with cmake before 3.3 2016-03-13 12:30:41 +01:00
Makefile.am Add CMake-related files to EXTRA_DIST 2016-03-12 01:38:12 +01:00
asio-cl.cc asio: Remove eof check in asio-cl.cc 2015-03-07 03:10:37 +09:00
asio-cl2.cc asio: Use host_service_from_uri in asio-cl2.cc 2015-03-07 01:10:49 +09:00
asio-sv.cc asio: Add server::response::write_trailer() 2015-03-07 19:26:42 +09:00
asio-sv2.cc Check more headers and funcs 2015-05-13 23:29:20 +09:00
client.c examples: fix compile warnings 2016-02-13 20:11:50 +01:00
deflate.c Fix warning with gcc 2015-09-23 18:26:02 +09:00
libevent-client.c Compile with BoringSSL 2015-09-29 23:38:17 +09:00
libevent-server.c Compile with BoringSSL 2015-09-29 23:38:17 +09:00
tiny-nghttpd.c examples: fix compile warnings 2016-02-13 20:11:50 +01:00