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/CMakeLists.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 48262751..b245d6ae 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,8 +1,9 @@ # -# Copyright (c) 2012-2013 Martin Sustrik All rights reserved. -# Copyright (c) 2013 GoPivotal, Inc. All rights reserved. -# Copyright (c) 2015-2016 Jack R. Dunaway. All rights reserved. -# Copyright 2017 Garrett D'Amore +# Copyright 2018 Capitar IT Group BV +# Copyright 2018 Staysail Systems, Inc. +# Copyright (c) 2012-2013 Martin Sustrik All rights reserved. +# Copyright (c) 2013 GoPivotal, Inc. All rights reserved. +# Copyright (c) 2015-2016 Jack R. Dunaway. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), @@ -129,6 +130,7 @@ add_subdirectory(supplemental/base64) add_subdirectory(supplemental/http) add_subdirectory(supplemental/sha1) add_subdirectory(supplemental/tls) +add_subdirectory(supplemental/util) add_subdirectory(supplemental/websocket) add_subdirectory(protocol/bus0) @@ -152,6 +154,7 @@ include_directories(AFTER SYSTEM ${PROJECT_SOURCE_DIR}/src add_definitions(${NNG_DEFINES}) # Provide same folder structure in IDE as on disk +# XXX: Consider replacing this with source_group(TREE...) foreach (f ${NNG_SOURCES}) # Get the path of the file relative to source directory if (IS_ABSOLUTE "${f}") -- cgit v1.2.3-70-g09d2