Nested environment variables - solved

I wanted to define a KiCad environment variable ( ${KICAD_LIB_ROOT} ) as the root of a bunch of directories, and then define other EV’s that reference relative to it
[N.B. I tried both “{” and “(” brackets, but maybe not every combo. ]

example:
KICAD_LIB_ROOT C:\Program Files\KiCad\share\kicad
KICAD_SYMBOL_DIR $(KICAD_LIB_ROOT)\kicad-symbols

The nesting seems not to work when I go to Eeschema. Is this an “expectation over-achievement” on my part, or worse, an RTFM shortfall? :grinning:

Let’s just say it doesn’t work and isn’t meant to work. Theoretically it should be possible but would lead to difficult logic (for example recursive or circular dependencies).

Thanks for the swift response. Good to know!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.