summaryrefslogtreecommitdiffstats
path: root/Tests/PerConfig/pcStatic.c
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/pcStatic.c
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/pcStatic.c')
-rw-r--r--Tests/PerConfig/pcStatic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/PerConfig/pcStatic.c b/Tests/PerConfig/pcStatic.c
new file mode 100644
index 0000000..7e1bf51
--- /dev/null
+++ b/Tests/PerConfig/pcStatic.c
@@ -0,0 +1,4 @@
+const char* pcStatic(void)
+{
+ return "INFO:symbol[pcStatic]";
+}