SOURCEFILES list in makefile: multiline vs. singleline

Sysprogs forums Forums VisualGDB SOURCEFILES list in makefile: multiline vs. singleline

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13322
    bad
    Participant

    Hi,

    When VisualGDB generates the makefile on my machine, all files in the SOURCEFILES variable are listed in one single line, but when my colleague generates the makefile on his machine, each file is listed on a separate line. We have the makefile under version control, so this leads to conflicts and huge merge effort each time one of us adds a file to the project. Both of us use the same version of VisualGDB (5.3R5) and Visual Studio professional 2015 (v14.0.25431.01 Update 3), so why is the makefile generated in a different way?

    I’d prefer to have each file on a separate line to make merging easier. Is it possible to change how the makefile is generated?

     

    • This topic was modified 6 years, 5 months ago by bad.
    #13327
    support
    Keymaster

    Hi,

    You can set this via Tools->Options->VisualGDB->General->Files->Max. items per Makefile line.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.