From 65c695fcbfc6d546795e9e54dcd5d6ac52d420a5 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 21 Feb 2018 20:12:28 -0800 Subject: Modularize HTTP headers somewhat. We move the HTTP definitions out of the core nng.h and into a supplemental header. Most of this change was trivial updates to all of the HTTP related manual pages. --- src/supplemental/http/CMakeLists.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/supplemental/http/CMakeLists.txt') diff --git a/src/supplemental/http/CMakeLists.txt b/src/supplemental/http/CMakeLists.txt index 9cfbd14a..98334109 100644 --- a/src/supplemental/http/CMakeLists.txt +++ b/src/supplemental/http/CMakeLists.txt @@ -1,6 +1,6 @@ # -# Copyright 2017 Capitar IT Group BV -# Copyright 2017 Staysail Systems, Inc. +# Copyright 2018 Staysail Systems, Inc. +# Copyright 2018 Capitar IT Group BV # # This software is supplied under the terms of the MIT License, a # copy of which should be located in the distribution where this @@ -10,8 +10,11 @@ if (NNG_SUPP_HTTP) set(HTTP_DEFINES -DNNG_SUPP_HTTP) + set(HTTP_HEADERS + supplemental/http/http.h) set(HTTP_SOURCES supplemental/http/http.h + supplemental/http/http_api.h supplemental/http/http_client.c supplemental/http/http_conn.c supplemental/http/http_msg.c @@ -20,7 +23,12 @@ if (NNG_SUPP_HTTP) else() set(HTTP_SOURCES supplemental/http/http.h + supplemental/http/http_api.h supplemental/http/http_public.c) + set(HTTP_HEADERS + supplemental/http/http.h) endif() + set(NNG_DEFINES ${NNG_DEFINES} ${HTTP_DEFINES} PARENT_SCOPE) set(NNG_SOURCES ${NNG_SOURCES} ${HTTP_SOURCES} PARENT_SCOPE) +set(NNG_HEADERS ${NNG_HEADERS} ${HTTP_HEADERS} PARENT_SCOPE) -- cgit v1.2.3-70-g09d2