VS 2008: Cannot generate WCE solutions with CMAKE_GENERATOR_PLATFORM
- open cmake-gui
- select source code (a simple one is attached)
- select a build folder
- press configure
- specify Visual Studio 9 2008 as the platform
- optional platform Windows Mobile 6 Professional SDK (ARMV4I). I get the same error with other WCE platforms I have.
I get: The CXX compiler identification is unknown CMake Error at CMakeLists.txt:1 (project): No CMAKE_CXX_COMPILER could be found.
If I execute from the console:
cmake.exe -G "Visual Studio 9 2008 Windows Mobile 6 Professional SDK (ARMV4I)" the solution is created correctly.
If I execute from the console: cmake.exe -G "Visual Studio 9 2008" -A "Windows Mobile 6 Professional SDK (ARMV4I)" I get the same error I get in cmake-gui
It seems that the only syntax accepted for WCE SDK is the legacy one and not the one introduced into 3.1.