summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-10-30 12:21:53 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-02 16:48:48 (GMT)
commit0e06788c0a5bd2a85db4b1559d13ead30ea5be0e (patch)
treeebdf63c31cb456484df386abfeb9ab2296e1463e /Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h
parentc0f4a6107412dc7bdbd810b86407016af723cb79 (diff)
downloadCMake-0e06788c0a5bd2a85db4b1559d13ead30ea5be0e.zip
CMake-0e06788c0a5bd2a85db4b1559d13ead30ea5be0e.tar.gz
CMake-0e06788c0a5bd2a85db4b1559d13ead30ea5be0e.tar.bz2
CMP0022: Add test for target_link_libraries plain signature
Diffstat (limited to 'Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h')
-rw-r--r--Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h b/Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h
new file mode 100644
index 0000000..c0373ce
--- /dev/null
+++ b/Tests/CMakeCommands/target_link_libraries/cmp0022/onlyplainlib1.h
@@ -0,0 +1,14 @@
+
+struct
+#ifdef _WIN32
+__declspec(dllexport)
+#endif
+OnlyPlainLib1
+{
+ OnlyPlainLib1();
+
+ int GetResult();
+
+private:
+ int result;
+};