-
-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ".c++" as a known C++ file extension #1192
Conversation
added *.c++ extension
Is this a common extension? |
This was requested in #612, however, I'm fairly certain that this change won't work for premake-core/modules/gmake2/gmake2_cpp.lua Lines 59 to 63 in ed483dd
|
Relatively. qmake/qtcreator recongnizes it as C++ file.
Nothing will, since gmake2 does not rely on the |
Do you have any examples of what uses this extension? I'm kind of curious about where this extension comes from, things seem to support it but nobody seems to use it. I find this really weird.
I didn't go any deeper than the |
https://www.google.com/search?q=.c%2B%2B+file+extension
I believe the best way to achieve it, is to redesign |
Can you implement any new tests with the gmake and gmake2 generators for this extension? |
Indeed, it does not hurt and recognizing the same extensions as GCC looks fine to me. And as @ratzlaff mentioned, a simple unit test that confirm that the correct rule is applied would be great in case a future change break this. There don't seem to be one at the moment but it would have it's place in *_file_rules.lua file test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm approving this one. The Gmake2 issues should be addressed on their own.
added *.c++ extension