diff options
author | Matt McCormick <matt.mccormick@kitware.com> | 2015-03-24 04:02:50 (GMT) |
---|---|---|
committer | Matt McCormick <matt.mccormick@kitware.com> | 2015-04-07 17:33:34 (GMT) |
commit | 579c4bec6e2352448f78d9333f7382ff34a08e5a (patch) | |
tree | deb2161d3058d0ecdda1b126994cb5866d060853 /Tests/RunCMake/pseudo_emulator.c | |
parent | 7ee897beec045761e796ac7468ed6e43cd58f1fe (diff) | |
download | CMake-579c4bec6e2352448f78d9333f7382ff34a08e5a.zip CMake-579c4bec6e2352448f78d9333f7382ff34a08e5a.tar.gz CMake-579c4bec6e2352448f78d9333f7382ff34a08e5a.tar.bz2 |
Properties: Add CROSSCOMPILING_EMULATOR target property.
Add CROSSCOMPILING_EMULATOR target property for executables. This is used by
subsequent patches to run exectuables created for the target system when
crosscompiling. The property is initialized by the
CMAKE_CROSSCOMPILING_EMULATOR variable when defined.
Diffstat (limited to 'Tests/RunCMake/pseudo_emulator.c')
-rw-r--r-- | Tests/RunCMake/pseudo_emulator.c | 15 |
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; +} |