diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-21 20:12:28 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-21 20:12:28 -0800 |
| commit | 65c695fcbfc6d546795e9e54dcd5d6ac52d420a5 (patch) | |
| tree | ddf8d7d31f1b365992b296923ee711e95298c5d6 /src/supplemental/http/CMakeLists.txt | |
| parent | 3a0ca04110778a56bcd523fbaba2439a61738e03 (diff) | |
| download | nng-65c695fcbfc6d546795e9e54dcd5d6ac52d420a5.tar.gz nng-65c695fcbfc6d546795e9e54dcd5d6ac52d420a5.tar.bz2 nng-65c695fcbfc6d546795e9e54dcd5d6ac52d420a5.zip | |
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.
Diffstat (limited to 'src/supplemental/http/CMakeLists.txt')
| -rw-r--r-- | src/supplemental/http/CMakeLists.txt | 12 |
1 files changed, 10 insertions, 2 deletions
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 <info@capitar.com> -# Copyright 2017 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2018 Capitar IT Group BV <info@capitar.com> # # 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) |
