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 /Source | |
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 'Source')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index b3d1155..85e5165 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -442,6 +442,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) if(this->TargetTypeValue == cmTarget::EXECUTABLE) { this->SetPropertyDefault("ANDROID_GUI", 0); + this->SetPropertyDefault("CROSSCOMPILING_EMULATOR", 0); } if(this->TargetTypeValue == cmTarget::SHARED_LIBRARY || this->TargetTypeValue == cmTarget::MODULE_LIBRARY) |