Best practice for makefile?

Sysprogs forums Forums VisualGDB Best practice for makefile?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #961
    imays
    Participant

    I am using VisualGDB and it generates several project files (vcxproj, makefile, …)
    I want to share only minimal project files (e.g. makefile only) to other people, but I am not aware of makefile structure.
    What is the best practice of sharing project files which is written with VisualGDB? I don’t think sharing .vgdbsettings or gcc_debug.h, etc. is good.

    #3512
    support
    Keymaster

    Hi,

    If the other people are not going to use VisualGDB, you only need to share the Makefile and all the .mak files. Simply invoke “make” from the project directory to build them.
    The .vgdbsettings files contain various GUI and debugging settings and are not required to build the project.
    The gcc_debug.h and gcc_release.h contain preprocessor macros extracted from GCC and are only used to configure IntelliSense.

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