|
From: Jason P. <st...@gm...> - 2008-09-18 16:39:26
|
There is an interesting conversation taking place over the SF.net forums about C and C++ mixed language projects and how Premake should treat them. The argument is between using the C++ compiler for every file in the project, or for Premake to try to guess the correct compiler based on the file extension. Have a look at the forum thread, and then feel to carry on the conversation here or there (I'll make sure the important points are communicated in both places). https://sourceforge.net/forum/message.php?msg_id=5258499 Right now, Premake's GNU makefile generator looks at the file extensions and switches between gcc and g++ as appropriate. The Code::Blocks generator compiles everything as C++. This should be standardized going forward. |