aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-11-12 21:00:51 -0800
committerGarrett D'Amore <garrett@damore.org>2020-11-12 21:00:51 -0800
commit8d87c66b481c7d447270be7238ad3c10e7ebc5e7 (patch)
treef6218c6f812ff904b0f722cdebeedb7222ecf463 /src/platform/windows
parent296d35fe695943a09dcc45469aa5aeadc619cf08 (diff)
downloadnng-8d87c66b481c7d447270be7238ad3c10e7ebc5e7.tar.gz
nng-8d87c66b481c7d447270be7238ad3c10e7ebc5e7.tar.bz2
nng-8d87c66b481c7d447270be7238ad3c10e7ebc5e7.zip
Base64 nits (code quality) fixed.
This also contains the start of some CMakefile refactoring and clean ups.
Diffstat (limited to 'src/platform/windows')
-rw-r--r--src/platform/windows/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/platform/windows/CMakeLists.txt b/src/platform/windows/CMakeLists.txt
new file mode 100644
index 00000000..251011cf
--- /dev/null
+++ b/src/platform/windows/CMakeLists.txt
@@ -0,0 +1,34 @@
+#
+# Copyright 2020 Staysail Systems, Inc. <info@staystail.tech>
+#
+# 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.
+#
+
+# Windows.
+
+nng_sources_if(NNG_PLATFORM_WINDOWS
+ win_impl.h
+ win_ipc.h
+ win_tcp.h
+
+ win_clock.c
+ win_debug.c
+ win_file.c
+ win_io.c
+ win_ipcconn.c
+ win_ipcdial.c
+ win_ipclisten.c
+ win_pipe.c
+ win_rand.c
+ win_resolv.c
+ win_sockaddr.c
+ win_tcp.c
+ win_tcpconn.c
+ win_tcpdial.c
+ win_tcplisten.c
+ win_thread.c
+ win_udp.c
+ )