Building Whole Solution on Linux

Sysprogs forums Forums VisualGDB Building Whole Solution on Linux

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6503
    sbrett9
    Participant

    Howdy,

    I was wondering if there was some way VisualGDB could generate makefiles that would allow building of an entire solution on linux. Right now it seems as if solutions only build through Visual Studio via VisualGDB. Visual GDB does not seem to generate a makefile at the solution level to build all projects associated with that solution.  I imagine I can create such a thing by hand myself, but was hoping there was a way for VisualGDB to handle this.

    #6516
    support
    Keymaster

    Hi,

    The makefiles are generated on project level to avoid better flexibility (e.g. combining projects using different build systems in one solution). In order to build all projects in the solution from Linux, you can simply create a script that will invoke Make for each project, e.g.:
    make -C project1 || exit 1
    make -C subdir/project2 || exit 1

    make -C projectN || exit 1

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