summaryrefslogtreecommitdiffstats
path: root/Tests/PerConfig/pcShared.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-07 22:36:24 (GMT)
committerBrad King <brad.king@kitware.com>2010-12-15 19:53:33 (GMT)
commit45e1953c4037d4492668651ae3bbfd6a4a875bc1 (patch)
tree37d90c289495eaeb53aa1d13b18dcbeb93859523 /Tests/PerConfig/pcShared.h
parent4091bca4ecf4a7f9c2099a7d34e125494de60e1c (diff)
downloadCMake-45e1953c4037d4492668651ae3bbfd6a4a875bc1.zip
CMake-45e1953c4037d4492668651ae3bbfd6a4a875bc1.tar.gz
CMake-45e1953c4037d4492668651ae3bbfd6a4a875bc1.tar.bz2
Factor per-config sample targets out of 'Testing' test
Put the source files, build rules, and test scripts for these targets under Tests/PerConfig and refer to it from Tests/Testing as a subdirectory. The targets and scripts will be useful in other tests.
Diffstat (limited to 'Tests/PerConfig/pcShared.h')
-rw-r--r--Tests/PerConfig/pcShared.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/PerConfig/pcShared.h b/Tests/PerConfig/pcShared.h
new file mode 100644
index 0000000..59a6ef4
--- /dev/null
+++ b/Tests/PerConfig/pcShared.h
@@ -0,0 +1,16 @@
+#ifndef pcShared_h
+#define pcShared_h
+
+#ifdef _WIN32
+# ifdef pcShared_EXPORTS
+# define PC_EXPORT __declspec(dllexport)
+# else
+# define PC_EXPORT __declspec(dllimport)
+# endif
+#else
+# define PC_EXPORT
+#endif
+
+PC_EXPORT const char* pcShared(void);
+
+#endif