build: Refactor to ensure all headers run through compile
Change-Id: I06089ea54ace1acd79d4d12d9b7eb6cc01b38596
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/cancel.cpp b/src/cancel.cpp
new file mode 100644
index 0000000..78f29c3
--- /dev/null
+++ b/src/cancel.cpp
@@ -0,0 +1 @@
+#include <stdplus/cancel.hpp>
diff --git a/src/flags.cpp b/src/flags.cpp
new file mode 100644
index 0000000..1a8d495
--- /dev/null
+++ b/src/flags.cpp
@@ -0,0 +1 @@
+#include <stdplus/flags.hpp>
diff --git a/src/handle/copyable.cpp b/src/handle/copyable.cpp
new file mode 100644
index 0000000..2af8ccd
--- /dev/null
+++ b/src/handle/copyable.cpp
@@ -0,0 +1 @@
+#include <stdplus/handle/copyable.hpp>
diff --git a/src/handle/managed.cpp b/src/handle/managed.cpp
new file mode 100644
index 0000000..e9c0c79
--- /dev/null
+++ b/src/handle/managed.cpp
@@ -0,0 +1 @@
+#include <stdplus/handle/managed.hpp>
diff --git a/src/meson.build b/src/meson.build
index 204110f..464bade 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -42,8 +42,16 @@
]
stdplus_srcs = [
+ 'cancel.cpp',
'exception.cpp',
+ 'flags.cpp',
+ 'handle/copyable.cpp',
+ 'handle/managed.cpp',
+ 'pinned.cpp',
+ 'raw.cpp',
'signal.cpp',
+ 'util/cexec.cpp',
+ 'util/string.cpp',
'zstring.cpp',
'zstring_view.cpp',
]
diff --git a/src/pinned.cpp b/src/pinned.cpp
new file mode 100644
index 0000000..855ddcd
--- /dev/null
+++ b/src/pinned.cpp
@@ -0,0 +1 @@
+#include <stdplus/pinned.hpp>
diff --git a/src/raw.cpp b/src/raw.cpp
new file mode 100644
index 0000000..f12c0db
--- /dev/null
+++ b/src/raw.cpp
@@ -0,0 +1 @@
+#include <stdplus/raw.hpp>
diff --git a/src/util/cexec.cpp b/src/util/cexec.cpp
new file mode 100644
index 0000000..189935d
--- /dev/null
+++ b/src/util/cexec.cpp
@@ -0,0 +1 @@
+#include <stdplus/util/cexec.hpp>
diff --git a/src/util/string.cpp b/src/util/string.cpp
new file mode 100644
index 0000000..d64a321
--- /dev/null
+++ b/src/util/string.cpp
@@ -0,0 +1 @@
+#include <stdplus/util/string.hpp>