All *.cpp files are ignored by Makefile
mhaehnel at os.inf.tu-dresden.de
Sun Jun 2 12:25:48 CEST 2013
>>> I tried to add a few .cpp files to Makefile but it seems that L4Re
>> systems ignores this extension.
>> Not exactly. The build system considers .cpp as preprocessed C files.
>> Please use .cc as extension for C++ code.
> Then how do I port libs like Qt to L4Re? Qt uses .cpp extension for
> C++ code ...
> I can not rename all Qt .cpp file to .cc :)
> Is there any way to make the build system to considers .cpp extension
> as C++
> code as well ?
You can add
BID_ALLOW_CPP_AS_CPLUSPLUS_FILE = y
to your Makefile to make BID recognize CPP files as c plus plus code.
More information about the l4-hackers