MSBuild back-end and static Linux app

Sysprogs forums Forums VisualGDB MSBuild back-end and static Linux app

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10220
    Costya
    Participant

    Hi,

    The new MSBuild back-end is great, fast and transparent.

    But how can I build static Linux application?

     

    #10221
    support
    Keymaster

    Hi,

    Do you mean a static library? You can do that by selecting “static library” in the wizard or changing the output type to “static library” via Visual Studio Project Properties.

    #10222
    Costya
    Participant

    No, I mean static Linux application.

    In makefiles I added -static to gcc. And where can add -static with MSBuild back-end?

    #10236
    support
    Keymaster

    Hi,

    You can add “-static” to via VS Project Properties -> Linker -> Command Line -> Additional Options.

    #10237
    Costya
    Participant

    It works!

    Thank you very much!

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