Replies: 2 comments 4 replies
-
I'm not 100% sure but I think Managed Build system uses the formatting of the existing files. |
Beta Was this translation helpful? Give feedback.
-
AFAIK it is not possible as the newlines are hardcoded. The newline is normally system dependent: But escaped newlines are handled differently: That
On a quick read of this code, since we sometimes use PS the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question:
Is it possible to define which type of line endings style (UNIX LF / Windows CRLF) are used inside the generated makefiles from CDT?
Background info / explanation:
I have an eclipse project checked out on a windows machine with C/C++CDT configured to generate GNU makefiles. The generated makefiles use a mixture of LF and CRLF line endings. I want to force the makefile generator to use UNIX (LF) line endings. Is this possible? Note: I am aware of the "Window -> Preferences -> Workspace -> New text file line delimiter -> Other -> Unix" setting, this however does not impact generated files and thus did not solve my issue.
Beta Was this translation helpful? Give feedback.
All reactions