Can't use environment variables with backslashes
Posted: Sat Sep 30, 2017 12:28 pm
I'm using CodeLite 10.0.7 on Windows 10, with mingw-64 compiler.
I have an environment variable where some path is stored, let's say,
Notice it uses '\' backslashes
When I use this variable inside project settings, let's say, I use it in intermediate directory path:
Note: CodeLite will rename this to $(MY_VAR)/obj
, I'm getting error on linking:
Notice that backslashes were removed from the path (D:MyVar) at some point.
That's not normal, right? Can it be fixed?
I have an environment variable where some path is stored, let's say,
Code: Select all
MY_VAR = D:\My\Var
When I use this variable inside project settings, let's say, I use it in intermediate directory path:
Code: Select all
$(MY_VAR)\obj
, I'm getting error on linking:
Code: Select all
.../mingw-w64/mingw32/bin/ar.exe: D:MyVar/Main.cpp.o: No such file or directory
That's not normal, right? Can it be fixed?