All *.cpp files are ignored by Makefile

BogDan bog_dan_ro at yahoo.com
Sun Jun 2 12:04:33 CEST 2013


>> 

>>  I tried to add a few .cpp files to Makefile but it seems that L4Re build 
> 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 ?

Thanks.

Cheers,
BogDan.





More information about the l4-hackers mailing list