Skip to content
Snippets Groups Projects

Fix command line is too long failure in Windows

Merged Andrew Maclean requested to merge Fix-command-line-too-long into master

Cmake-3.22.0, with Visual Studio 2022 and Ninja-1.10.2 causes a 'command line is too long' error when building in Windows. This is a result of this change in Cmake:

  • The “Ninja” and “NMake Makefiles” generators now use the MSVC “-external:I” flag for system includes. This became available as of VS 16.10 (toolchain version 14.29.30037).
Edited by Andrew Maclean

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading