Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,807
    • Issues 3,807
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #22645

Closed
Open
Created Sep 15, 2021 by Luigi Fiorentini@lfiorentiniContributor

VS 2008: Cannot generate WCE solutions with CMAKE_GENERATOR_PLATFORM

  1. open cmake-gui
  2. select source code (a simple one is attached)
  3. select a build folder
  4. press configure
  5. specify Visual Studio 9 2008 as the platform
  6. 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.

Immagine CMakeLists.txt

Edited Sep 15, 2021 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking