Fixed CMake compile options.
authorJoakim Soderberg <joakim.soderberg@gmail.com>
Fri, 22 Feb 2013 01:28:04 +0000 (09:28 +0800)
committerAndy Green <andy.green@linaro.org>
Fri, 22 Feb 2013 01:28:04 +0000 (09:28 +0800)
commit7eadd586b100788888315a122405717c8c462090
tree7e27ce34342a303cbb6a8948a37c5009ae4d8bfe
parentfcec61c576c50f1c9a6bbc4fcdcca9cb926587c4
Fixed CMake compile options.

Fixed so that the build options for the CMake project works:

- The test apps used the LWS_NO_EXTENSIONS define, so they needed lws_config.h included when building using CMake.
- Rename some options so that individual test apps can be turned off.
- Separate building the test-client/test-server and compiling the server/client parts into the lib.
- Don't include server or client specific sources into the build if they shouldn't be built.
- Added an error if both client and server parts are excluded at the same time (makes no sense).
- Removed duplicate install targets for the test apps.
- Commented out the WITH_LIBCRYPTO option since it isn't used at the moment.
CMakeLists.txt
test-server/test-client.c
test-server/test-echo.c
test-server/test-fraggle.c
test-server/test-ping.c