aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/zenhttp.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-05-02 10:01:47 +0200
committerGitHub <[email protected]>2023-05-02 10:01:47 +0200
commit075d17f8ada47e990fe94606c3d21df409223465 (patch)
treee50549b766a2f3c354798a54ff73404217b4c9af /src/zenhttp/zenhttp.cpp
parentfix: bundle shouldn't append content zip to zen (diff)
downloadzen-075d17f8ada47e990fe94606c3d21df409223465.tar.xz
zen-075d17f8ada47e990fe94606c3d21df409223465.zip
moved source directories into `/src` (#264)
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
Diffstat (limited to 'src/zenhttp/zenhttp.cpp')
-rw-r--r--src/zenhttp/zenhttp.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/zenhttp/zenhttp.cpp b/src/zenhttp/zenhttp.cpp
new file mode 100644
index 000000000..4bd6a5697
--- /dev/null
+++ b/src/zenhttp/zenhttp.cpp
@@ -0,0 +1,22 @@
+// Copyright Epic Games, Inc. All Rights Reserved.
+
+#include <zenhttp/zenhttp.h>
+
+#if ZEN_WITH_TESTS
+
+# include <zenhttp/httpclient.h>
+# include <zenhttp/httpserver.h>
+# include <zenhttp/httpshared.h>
+
+namespace zen {
+
+void
+zenhttp_forcelinktests()
+{
+ http_forcelink();
+ forcelink_httpshared();
+}
+
+} // namespace zen
+
+#endif