Friday 29 April 2011

You think you know everything about SOURCES files (Part 2)

I hope this will be the last of it ;-)

These lines are very common in SOURCES files:
SOURCES=\
a.cpp \
b.cpp

but sometimes people write this:
SOURCES=a.cpp b.cpp

This is perfectly correct for the build process.

But the platform builder IDE claims a very unexpected restriction:
Never separate the list of files with a TAB; always use SPACES!
Otherwise Visual Studio will crash without any helpful message.
It will crash when you enable the corresponding Catalog Item.
You will unsuccessfully search in the XML files for your bug.

Tschüß Holger

No comments: