Is your feature request related to a problem? Please describe.
When working on a project, using a makefile, visual studio and more, it happens we edit the xmake file, or add some files and we have to open a shell to rerun xmake project generation, which is a bit frustrating.
Describe the solution you'd like
It would be nice to have an option allowing xmake to regenerate the project (with the same parameters passed the first time) on start, or having a phony target doing so.
CMake is already doing something like that (even though it's much more slower than xmake)
However if something like that happens, it would be very nice for xmake to detect if a project regeneration is required and not do it if nothing changed (as regenerating a project everytime makes VS ask you to reload it and such), as CMake and Premake do for example.
I don't know if xmake already has something to know if something changed between runs.
Describe alternatives you've considered
Adding a phony target that regenerate the project myself, but I'm not sure how to detect the parameters and kind of project.
Is your feature request related to a problem? Please describe.
When working on a project, using a makefile, visual studio and more, it happens we edit the xmake file, or add some files and we have to open a shell to rerun xmake project generation, which is a bit frustrating.
Describe the solution you'd like
It would be nice to have an option allowing xmake to regenerate the project (with the same parameters passed the first time) on start, or having a phony target doing so.
CMake is already doing something like that (even though it's much more slower than xmake)
However if something like that happens, it would be very nice for xmake to detect if a project regeneration is required and not do it if nothing changed (as regenerating a project everytime makes VS ask you to reload it and such), as CMake and Premake do for example.
I don't know if xmake already has something to know if something changed between runs.
Describe alternatives you've considered
Adding a phony target that regenerate the project myself, but I'm not sure how to detect the parameters and kind of project.