summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/pseudo_emulator.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-08 13:07:03 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-08 13:07:03 (GMT)
commit977796e3077b390b72c32315138ca15ae3339fb7 (patch)
tree78d5a827316d2d9ca59bffe7aab4713359cfcb42 /Tests/RunCMake/pseudo_emulator.c
parent37ce091345f6e9ad57aff7a768cc3dc35ebc3913 (diff)
parent1975d53ae19c46ee4f7384cc96be355f7e94df61 (diff)
downloadCMake-977796e3077b390b72c32315138ca15ae3339fb7.zip
CMake-977796e3077b390b72c32315138ca15ae3339fb7.tar.gz
CMake-977796e3077b390b72c32315138ca15ae3339fb7.tar.bz2
Merge topic 'emulator-property'
1975d53a Help: Add notes for topic 'emulator-property' 9160d6c2 TestGenerator: Add CROSSCOMPILING_EMULATOR support. e942526b try_run: Use CMAKE_CROSSCOMPILING_EMULATOR. 579c4bec Properties: Add CROSSCOMPILING_EMULATOR target property.
Diffstat (limited to 'Tests/RunCMake/pseudo_emulator.c')
-rw-r--r--Tests/RunCMake/pseudo_emulator.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/pseudo_emulator.c b/Tests/RunCMake/pseudo_emulator.c
new file mode 100644
index 0000000..9308f75
--- /dev/null
+++ b/Tests/RunCMake/pseudo_emulator.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+int main(int argc, char * argv[] )
+{
+ int ii;
+
+ printf("Command:");
+ for(ii = 1; ii < argc; ++ii)
+ {
+ printf(" \"%s\"", argv[ii]);
+ }
+ printf("\n");
+
+ return 42;
+}