aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples/simple/baz.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-03-30 11:32:26 +0200
committerEgor Tensin <egor@tensin.name>2026-03-30 11:34:43 +0200
commit00333c785ab02c7010c2e07981d5d792c218c9ee (patch)
treeca7a6b1a8a44df52b2273cfdf63853727ef74bf6 /examples/simple/baz.hpp
parentremove some dead code (diff)
downloadcmake-common-00333c785ab02c7010c2e07981d5d792c218c9ee.tar.gz
cmake-common-00333c785ab02c7010c2e07981d5d792c218c9ee.zip
remove examples "dynamic" & "static"
To be specific the "dynamic" example is the new "simple". I don't need 3 basic example projects, one is enough.
Diffstat (limited to 'examples/simple/baz.hpp')
-rw-r--r--examples/simple/baz.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/simple/baz.hpp b/examples/simple/baz.hpp
new file mode 100644
index 0000000..2fc9b2a
--- /dev/null
+++ b/examples/simple/baz.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#ifdef _MSC_VER
+#define DLLEXPORT __declspec(dllexport)
+#else
+#define DLLEXPORT
+#endif
+
+DLLEXPORT void baz();