summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run/main.c
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-11-19 16:23:45 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2018-12-01 16:56:23 (GMT)
commit29f9db5c63dbfa53acdb449fad78d716a4113a88 (patch)
tree6b6ba4b75a7e906a455024292fe9f5f25299c8a1 /Tests/RunCMake/try_run/main.c
parent78c2edb129594b198157799b3eb327f4a3915908 (diff)
downloadCMake-29f9db5c63dbfa53acdb449fad78d716a4113a88.zip
CMake-29f9db5c63dbfa53acdb449fad78d716a4113a88.tar.gz
CMake-29f9db5c63dbfa53acdb449fad78d716a4113a88.tar.bz2
try_compile/try_run: Add support for LINK_OPTIONS option.
Diffstat (limited to 'Tests/RunCMake/try_run/main.c')
-rw-r--r--Tests/RunCMake/try_run/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_run/main.c b/Tests/RunCMake/try_run/main.c
new file mode 100644
index 0000000..2128ead
--- /dev/null
+++ b/Tests/RunCMake/try_run/main.c
@@ -0,0 +1,8 @@
+extern void func();
+
+int main(void)
+{
+ func();
+
+ return 0;
+}