summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2015-03-24 04:02:50 (GMT)
committerMatt McCormick <matt.mccormick@kitware.com>2015-04-07 17:33:34 (GMT)
commit579c4bec6e2352448f78d9333f7382ff34a08e5a (patch)
treedeb2161d3058d0ecdda1b126994cb5866d060853 /Source
parent7ee897beec045761e796ac7468ed6e43cd58f1fe (diff)
downloadCMake-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.cxx1
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)