[cmake-developers] [PATCH] Added very basic Windows CE Makefile support

Brad King brad.king at kitware.com
Thu Sep 13 07:48:42 EDT 2012


On 09/12/2012 09:00 AM, Patrick Gansterer wrote:
> The topic meged a few hours ago. I rebased the code and pushed it again 
> as "ce"

Thanks.

Normally cross compiling is done with a toolchain file and
sets CMAKE_CROSSCOMPILING.  Does that work for the NMake
generator now without this topic?

We need to figure out how to map that approach into the IDE
generators.  A setting like CMAKE_WINCE_SDK needs to be set
before any languages are enabled.  How should a user set it?

Please also add documentation for CMAKE_WINCE_SDK.

BTW, why is this hunk needed?

+  this->GetCMakeInstance()->AddCacheEntry("CMAKE_C_COMPILER",
+    "cl", "", cmCacheManager::INTERNAL);
+  this->GetCMakeInstance()->AddCacheEntry("CMAKE_CXX_COMPILER",
+    "cl", "", cmCacheManager::INTERNAL);

Thanks,
-Brad


More information about the cmake-developers mailing list