I am setting up a Ceedling project and I need to configure the project to use MSVC. I've got everything working except that I don't want fixed paths in this project file as not every developer will have visual studio installed at the same location.
I want to move the visual studio and windows kits to a system environment variable, but I can't seem to get it to work. Someone suggested using <%= ENV['FOOVAR'] %>
but that did not seem to do the trick.
Config snippet as follows:
:tools:
:test_linker:
:executable: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64\link.exe'
:name: 'msvc'
:arguments:
- "${1}"
- /OUT:"${2}"
- /LIBPATH:"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib\amd64"
- /LIBPATH:"C:\Program Files (x86)\Windows Kits\8.0\Lib\win8\um\x64"