-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: