-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ninja: Windows10 Filename longer than 260 characters #2400
Comments
When I set target test1 to be a static library and not a shared library, the project will compile successfully. |
Note that the real problem here might be the command line size limitation on Windows. See https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation
For static libraries You can check in |
Ninja is just running the commands that the generator gives to it. This issue belongs purely on the CMake side, and IMO should be closed here. |
for the 260 char problem, see #1900 |
@cristianadam If it is consistent with what you said, then the following error will appear |
Currently using absolute paths causes this error on windows platforms, and the problem still exists.
https://gitlab.kitware.com/cmake/cmake/-/issues/22435
The text was updated successfully, but these errors were encountered: