Re: All *.cpp files are ignored by Makefile

Marcus Hähnel <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Organization Technische Universität Dresden
Message-ID <[email protected]>
>>>  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 ?

You can add

BID_ALLOW_CPP_AS_CPLUSPLUS_FILE = y

to your Makefile to make BID recognize CPP files as c plus plus code.

- Marcus



_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.