diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-11-13 22:31:18 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-11-14 21:31:43 -0800 |
| commit | eb328da56c3fc7167b536dcb206df0abb0f4a9b9 (patch) | |
| tree | c92e3dd3db6a0f1b0efc6a027e7e4db6442068f0 /src/core | |
| parent | 7c1ff5ed1e48af413494b9070cccf79f3858b749 (diff) | |
| download | nng-eb328da56c3fc7167b536dcb206df0abb0f4a9b9.tar.gz nng-eb328da56c3fc7167b536dcb206df0abb0f4a9b9.tar.bz2 nng-eb328da56c3fc7167b536dcb206df0abb0f4a9b9.zip | |
fixes #1087 CMakeLists structural improvements desired
This doesn't modularize all the tests yet, but it goes a long way
in the right direction.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/CMakeLists.txt | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt new file mode 100644 index 00000000..9ecc46f8 --- /dev/null +++ b/src/core/CMakeLists.txt @@ -0,0 +1,77 @@ +# +# Copyright 2020 Staysail Systems, Inc. <info@staystail.tech> +# +# This software is supplied under the terms of the MIT License, a +# copy of which should be located in the distribution where this +# file was obtained (LICENSE.txt). A copy of the license may also be +# found online at https://opensource.org/licenses/MIT. +# + +# Core. + +nng_check_sym(strlcpy string.h NNG_HAVE_STRLCPY) +nng_check_sym(strnlen string.h NNG_HAVE_STRNLEN) +nng_check_sym(strcasecmp string.h NNG_HAVE_STRCASECMP) +nng_check_sym(strncasecmp string.h NNG_HAVE_STRNCASECMP) + +nng_sources( + defs.h + + aio.c + aio.h + clock.c + clock.h + device.c + device.h + dialer.c + dialer.h + file.c + file.h + idhash.c + idhash.h + init.c + init.h + list.c + list.h + listener.c + listener.h + lmq.c + lmq.h + message.c + message.h + msgqueue.c + msgqueue.h + nng_impl.h + options.c + options.h + pollable.c + pollable.h + panic.c + panic.h + pipe.c + pipe.h + platform.h + protocol.c + protocol.h + reap.c + reap.h + socket.c + socket.h + sockimpl.h + stats.c + stats.h + stream.c + stream.h + strs.c + strs.h + taskq.c + taskq.h + thread.c + thread.h + timer.c + timer.h + transport.c + transport.h + url.c + url.h +) |
