Added examples to cmake building process.

Set /WX flas that is warnings as errors on MSVC build.
Updated linux, osx, msvc build to refer to appropriate boost libraries.
This commit is contained in:
Takatoshi Kondo
2015-08-12 12:53:56 +09:00
parent e50cc5d79f
commit 12b5a6235a
15 changed files with 284 additions and 25 deletions

View File

@@ -122,7 +122,7 @@ private:
int main(void)
{
int pair[2];
pipe(pair);
if (pipe(pair) != 0) return -1;
// run server thread
Server srv(pair[0]);