Actually, I spoke too soon.
The PG from the nightly is reading
vs: ADDON_LIBS into Additional Library Directories in VS2015, but it's missing the \$(Platform) part.
ADDON_LIBS += $(RSSDK_DIR)lib\$(Platform)
C:\Program Files (x86)\Intel\RSSDK\lib
in Additional Library Directories.
I want that to be
C:\Program Files (x86)\Intel\RSSDK\lib\$(Platform)
Two notes: $(RSSDK_DIR) is an environmental variable created by the Intel RealSense SDK installer, whereas $(Platform) is a Visual Studio macro that should translate to Win32 or x64 depending on build platform.
I figured it's looking for an environmental variable for
$(Platform) and can't find it, so it drops it.
But I tried escaping the $ using
$$(Platform) - no luck.
The behavior is a bit strange in general though... when I try:
ADDON_LIBS += $(RSSDK_DIR)lib
so removing the
\$(Platform) part, I get:
C:\Program Files (x86)\Intel\RSSDK
So it is missing the lib folder at the end...
ADDON_INCLUDES += $(RSSDK_DIR)include
works perfectly and gives me
C:\Program Files (x86)\Intel\RSSDK\include
in Additional Include Directories.