Skip to content

Updated .gitignore to exclude Visual Studio solution files generated by CMake.#413

Closed
horacv wants to merge 2 commits intoutopia-rise:masterfrom
horacv:master
Closed

Updated .gitignore to exclude Visual Studio solution files generated by CMake.#413
horacv wants to merge 2 commits intoutopia-rise:masterfrom
horacv:master

Conversation

@horacv
Copy link

@horacv horacv commented Dec 19, 2025

Added the following patterns:

  • *.sln
  • *.vcxproj
  • *.vcxproj.filters

Since users can generate VS solutions with cmake -G "Visual Studio 17 2022" (or other versions), these generated files shouldn't be tracked in version control. This prevents unnecessary commits and potential merge conflicts from IDE-specific generated files.

This change fix this warning message:

CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant