Different flag for different configuration in Arduino Project

Sysprogs forums Forums VisualGDB Different flag for different configuration in Arduino Project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25232
    lzambonelli @mexage
    Participant

    Hi,

    I’m working on an Arduino project using VisualGDB and VS2017.

    Maybe i’m missing something, but i cannot find a way to set flags for DEBUG and RELEASE configuration.

    Where i can add flags for each configuration? I would like to use these flag in order to prevent part of the code compiling when i’m under RELEASE

     

    Thanks in advance

    Leonardo

    #25244
    support
    Keymaster

    Hi,

    Please try using the Debug-only preprocessor macros field on the first page of VisualGDB Project Properties (ensure you are using the latest VisualGDB version).

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