{"action":"created","issue":{"url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1652","labels_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1652/labels{/name}","comments_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1652/comments","events_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1652/events","html_url":"https://github.com/gameplay3d/GamePlay/issues/1652","id":53374229,"number":1652,"title":"Base.h includes everything and makes compilation slow","user":{"login":"rgngl","id":169434,"avatar_url":"https://avatars.githubusercontent.com/u/169434?v=3","gravatar_id":"","url":"https://api.github.com/users/rgngl","html_url":"https://github.com/rgngl","followers_url":"https://api.github.com/users/rgngl/followers","following_url":"https://api.github.com/users/rgngl/following{/other_user}","gists_url":"https://api.github.com/users/rgngl/gists{/gist_id}","starred_url":"https://api.github.com/users/rgngl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgngl/subscriptions","organizations_url":"https://api.github.com/users/rgngl/orgs","repos_url":"https://api.github.com/users/rgngl/repos","events_url":"https://api.github.com/users/rgngl/events{/privacy}","received_events_url":"https://api.github.com/users/rgngl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-05T08:29:58Z","updated_at":"2015-01-06T02:05:07Z","closed_at":"2015-01-05T14:27:00Z","body":"Base.h includes all the headers ever used by Gameplay3D so, all the source files include every header file during compilation. Because of this a full build of Gameplay3D takes quite long. In fact, full builds happen quite often because both Xcode and Android ndk-build makes a full build from scratch every time the project files are touched, not to mention touching the Base.h triggers a full build too.\r\n\r\nI think it wouldn't be so hard to make some refactoring there such as including bullet headers only from physics related classes or Lua includes only from scripting related classes.\r\n\r\nSTL headers are also quite big and I don't think they're needed to be included from every single source file."},"comment":{"url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/comments/68815669","html_url":"https://github.com/gameplay3d/GamePlay/issues/1652#issuecomment-68815669","issue_url":"https://api.github.com/repos/gameplay3d/GamePlay/issues/1652","id":68815669,"user":{"login":"seanpaultaylor","id":1127169,"avatar_url":"https://avatars.githubusercontent.com/u/1127169?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpaultaylor","html_url":"https://github.com/seanpaultaylor","followers_url":"https://api.github.com/users/seanpaultaylor/followers","following_url":"https://api.github.com/users/seanpaultaylor/following{/other_user}","gists_url":"https://api.github.com/users/seanpaultaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpaultaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpaultaylor/subscriptions","organizations_url":"https://api.github.com/users/seanpaultaylor/orgs","repos_url":"https://api.github.com/users/seanpaultaylor/repos","events_url":"https://api.github.com/users/seanpaultaylor/events{/privacy}","received_events_url":"https://api.github.com/users/seanpaultaylor/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T02:05:07Z","updated_at":"2015-01-06T02:05:07Z","body":"Are you building the engine all the time ?"}}