From fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 20 Feb 2018 19:41:55 -0800 Subject: Introduce 'porting layer' Public API. This introduces portable primitives for time, random numbers, synchronization primitives, and threading. These are somewhat primitive (least common denominiators), but they can help with writing portable applications, especially our own demo apps. --- src/supplemental/util/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/supplemental/util/CMakeLists.txt (limited to 'src/supplemental/util/CMakeLists.txt') diff --git a/src/supplemental/util/CMakeLists.txt b/src/supplemental/util/CMakeLists.txt new file mode 100644 index 00000000..07dba939 --- /dev/null +++ b/src/supplemental/util/CMakeLists.txt @@ -0,0 +1,15 @@ +# +# Copyright 2018 Capitar IT Group BV +# Copyright 2018 Staysail Systems, Inc. +# +# 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. +# + +set(SUPP_PLATFORM_SOURCES + supplemental/util/platform.c) + +install(FILES platform.h DESTINATION include/nng/supplemental/util) +set(NNG_SOURCES ${NNG_SOURCES} ${SUPP_PLATFORM_SOURCES} PARENT_SCOPE) -- cgit v1.2.3-70-g09d2