-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Project source code folder structure adjustment #1646
Labels
Comments
While this is a good idea, it is a breaking change, so perhaps it would be best to leave it for the v2.2 release? |
Yes |
6 tasks
6 tasks
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Right now all project files are inside
core
folder and the engine adds a lot of unnecessary include paths to the project, which makes the setup brittle to header conflicts. I'm proposing to move all files insidecore
tocore/axmol
. This would allow to addcore
path for includes and use#include <axmol/2d/Node.h>
, instead of something like#include <axmol/core/2d/Node.h>
or raw#include <2d/Node.h>
which is too basic and is exposed to conflicts with headers from the project or other external libraries.And this setup:
should be reduced to something like this:
The text was updated successfully, but these errors were encountered: