-
Notifications
You must be signed in to change notification settings - Fork 17
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
Investigate what's required to commit this project to premake5 upstream #10
Comments
I'd love to see ninja as first-class premake output, but there's a lot of work to do here. |
@TurkeyMan yes, would be indeed nice to make it first-class citizen. But I had to abandon attempts because premake test infrastructure makes no sense for me :( To be able to add a new output target to premake, I need to be able to verify that all premake features are correctly working (like custom commands, platform specific stuff, etc) for new output. Back when I was researching it in 2016 it was obvious that premake had close to zero end-to-end tests, no test suite, nothing (there is unittest level test suite, but this doesn't verify that end user will be able to compile stuff). The only way to test that actual compilation of a source file worked is to do it yourself (which is done in this repo). I don't want to trust "just works" approach, as it requires a lot of manual testing, and not future proof. Because of this reasons I had to stop using premake, and unfortunately switched to cmake. |
Haha, okay. Fair enough. I'm not so sure the words 'had' to stop using premake are quite factually correct ;) ... But I understand you might have been compelled to cmake. That said, Why didn't you just submit your own end-to-end test infrastructure to premake? If you feel the test system was insufficient, and it could easily be better... then I think you'll find contributors will (do) share that opinion. |
@jimon : It might be useful for some stuff, but indeed, is not adapted for multi-generators. |
Ok, I fixed some stuff in premake-ninja, so now all my tests passes successfully :-) I still try to promote those tests instead of the ones from premake which are mostly useless for generator :-/ |
Asked question to know what are prerequires to be in core: |
So premake/premake-core#141 is closed. Would be nice to actually commit this to upstream so it would be maintained more properly.
Honestly premake5's make action is not that complicated, so this one shouldn't be that hard either. Some topics to think about :
The text was updated successfully, but these errors were encountered: