[SOLVED] ES Global macros

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] ES Global macros

    Hi
    I am having similar issues with SES

    If I create a macro ROOT=c: in the build options at project level,
    then define
    $(ROOT)\NixInclude in the user includes
    The header files in that directory are not found...

    user includes "say" they will use macro expansion.

    But the exported build for the offending source file simply has
    -I$(ROOT)\NixInclude
    - not the macro-expanded version
    I have tried these at all levels, from solution down to individual source file, and cannot seem to figure it out.

    Probably just a syntax error on my part, but I want to get this sorted so I can switch SDK versions between projects by over-riding the root path.

    Any ideas?
  • -- Moved to new thread as it was unrelated to other inquiry--

    Hello,

    Thank you for your inquiry.
    Try forward slashes when setting paths, that should make it work.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.