aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-14 18:53:10 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-14 18:53:10 -0800
commit3583d5e407476b8836228c0abc52c400d74aba61 (patch)
tree113b6510b9f3d4f7eaffd331ecbd173724327c96 /src/CMakeLists.txt
parente6476c5e4eac773aed4b76f16d3e76e7956c2468 (diff)
downloadnng-3583d5e407476b8836228c0abc52c400d74aba61.tar.gz
nng-3583d5e407476b8836228c0abc52c400d74aba61.tar.bz2
nng-3583d5e407476b8836228c0abc52c400d74aba61.zip
More robust platform definition support.
The idea is that someday it will be possible to just concatenate the entire set of source files into a single giant source file, for systems that want to work this way. As a result, the build system now compiles every file, although some of them will not have any definitions.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4d28cb34..b4367365 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,6 +28,8 @@ set (NNG_SOURCES
nng.h
core/defs.h
+ core/init.c
+ core/init.h
core/list.c
core/list.h
core/message.c
@@ -50,14 +52,15 @@ set (NNG_SOURCES
core/transport.c
core/transport.h
- platform/posix/posix_alloc.h
- platform/posix/posix_clock.h
- platform/posix/posix_config.h
- platform/posix/posix_debug.h
platform/posix/posix_impl.h
- platform/posix/posix_synch.h
- platform/posix/posix_thread.h
- platform/posix/posix_vsnprintf.h
+ platform/posix/posix_config.h
+
+ platform/posix/posix_alloc.c
+ platform/posix/posix_clock.c
+ platform/posix/posix_debug.c
+ platform/posix/posix_synch.c
+ platform/posix/posix_thread.c
+ platform/posix/posix_vsnprintf.c
protocol/pair/pair.c