summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2019-05-30 16:41:21 (GMT)
committerBetsy McPhail <betsy.mcphail@kitware.com>2019-06-18 14:36:16 (GMT)
commit862cfc0e6c3f275db73281f3b9b989704251ab6a (patch)
tree91c65801e02f337fa95e9776a6bf59057d55ec17 /Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h
parentd2fde9480955cf2246519357e01ab5142a067efc (diff)
downloadCMake-862cfc0e6c3f275db73281f3b9b989704251ab6a.zip
CMake-862cfc0e6c3f275db73281f3b9b989704251ab6a.tar.gz
CMake-862cfc0e6c3f275db73281f3b9b989704251ab6a.tar.bz2
Help/guide/tutorial: Adopt tutorial code
Diffstat (limited to 'Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h')
-rw-r--r--Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h b/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h
new file mode 100644
index 0000000..3fb547b
--- /dev/null
+++ b/Help/guide/tutorial/MultiPackage/MathFunctions/MathFunctions.h
@@ -0,0 +1,14 @@
+
+#if defined(_WIN32)
+# if defined(EXPORTING_MYMATH)
+# define DECLSPEC __declspec(dllexport)
+# else
+# define DECLSPEC __declspec(dllimport)
+# endif
+#else // non windows
+# define DECLSPEC
+#endif
+
+namespace mathfunctions {
+double DECLSPEC sqrt(double x);
+}