{"action":"created","issue":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3485","labels_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3485/labels{/name}","comments_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3485/comments","events_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3485/events","html_url":"https://github.com/openframeworks/openFrameworks/issues/3485","id":52041425,"number":3485,"title":"Update TargetPlatform Enum","user":{"login":"bakercp","id":300484,"avatar_url":"https://avatars.githubusercontent.com/u/300484?v=3","gravatar_id":"","url":"https://api.github.com/users/bakercp","html_url":"https://github.com/bakercp","followers_url":"https://api.github.com/users/bakercp/followers","following_url":"https://api.github.com/users/bakercp/following{/other_user}","gists_url":"https://api.github.com/users/bakercp/gists{/gist_id}","starred_url":"https://api.github.com/users/bakercp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakercp/subscriptions","organizations_url":"https://api.github.com/users/bakercp/orgs","repos_url":"https://api.github.com/users/bakercp/repos","events_url":"https://api.github.com/users/bakercp/events{/privacy}","received_events_url":"https://api.github.com/users/bakercp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/core","name":"core","color":"db6a1f"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/feature","name":"feature","color":"622425"},{"url":"https://api.github.com/repos/openframeworks/openFrameworks/labels/section-internals","name":"section-internals","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-15T21:31:15Z","updated_at":"2015-05-24T16:10:12Z","closed_at":null,"body":"Currently our ofTargetPlatformEnum is:\r\n\r\n```c++\r\nenum ofTargetPlatform{\r\n\tOF_TARGET_OSX,\r\n\tOF_TARGET_WINGCC,\r\n\tOF_TARGET_WINVS,\r\n\tOF_TARGET_IOS,\r\n\tOF_TARGET_ANDROID,\r\n\tOF_TARGET_LINUX,\r\n\tOF_TARGET_LINUX64,\r\n\tOF_TARGET_LINUXARMV6L, // arm v6 little endian\r\n\tOF_TARGET_LINUXARMV7L, // arm v7 little endian\r\n\tOF_TARGET_EMSCRIPTEN\r\n};\r\n```\r\n\r\nFor projects like Project Generator and ofSketch, it would be very useful to have a better differentiation for android, and 32/64 bit platforms.   Proposed update:\r\n\r\n```c++\r\nenum ofTargetPlatform{\r\n\tOF_TARGET_OSX,   ///< 32 bit.\r\n\tOF_TARGET_OSX64,\r\n\tOF_TARGET_WINGCC, ///< 32 bit.\r\n\tOF_TARGET_WINGCC64,\r\n\tOF_TARGET_WINVS, ///< 32 bit.\r\n\tOF_TARGET_WINVS64,\r\n\tOF_TARGET_IOSARM64,\r\n\tOF_TARGET_IOSARMV7, ///< 32 bit.\r\n\tOF_TARGET_ANDROIDARMV5, ///< 32 bit.\r\n\tOF_TARGET_ANDROIDARMV7, ///< 32 bit.\r\n\tOF_TARGET_LINUX, ///< 32 bit.\r\n\tOF_TARGET_LINUX64,\r\n\tOF_TARGET_LINUXARMV6L, // arm v6 little endian ///< 32 bit.\r\n\tOF_TARGET_LINUXARMV7L, // arm v7 little endian ///< 32 bit.\r\n\tOF_TARGET_EMSCRIPTEN \r\n};\r\n```\r\n\r\nAlternatively it might be useful to break this down a bit:\r\n\r\n```c++\r\nenum ofTargetPlatform {\r\n    OSX,\r\n    WINGCC,\r\n    WINVS,\r\n    IOS,\r\n    ANDROID,\r\n    LINUX,\r\n    EMSCRIPTEN\r\n};\r\n\r\nenum ofTargetArch {\r\n    I386,\r\n    X86_64,\r\n    ARM5,\r\n    ARM6,\r\n    ARMV7,\r\n    ARM64,\r\n    NONE ///< Emscripten?\r\n};\r\n```\r\n\r\n_EDITED: to update w/ @danoli3's comments._\r\n\r\n@danoli3 -- does that look right for IOS?\r\n@arturoc What do you think?\r\n"},"comment":{"url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/comments/105031388","html_url":"https://github.com/openframeworks/openFrameworks/issues/3485#issuecomment-105031388","issue_url":"https://api.github.com/repos/openframeworks/openFrameworks/issues/3485","id":105031388,"user":{"login":"bakercp","id":300484,"avatar_url":"https://avatars.githubusercontent.com/u/300484?v=3","gravatar_id":"","url":"https://api.github.com/users/bakercp","html_url":"https://github.com/bakercp","followers_url":"https://api.github.com/users/bakercp/followers","following_url":"https://api.github.com/users/bakercp/following{/other_user}","gists_url":"https://api.github.com/users/bakercp/gists{/gist_id}","starred_url":"https://api.github.com/users/bakercp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakercp/subscriptions","organizations_url":"https://api.github.com/users/bakercp/orgs","repos_url":"https://api.github.com/users/bakercp/repos","events_url":"https://api.github.com/users/bakercp/events{/privacy}","received_events_url":"https://api.github.com/users/bakercp/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T16:10:12Z","updated_at":"2015-05-24T16:10:12Z","body":"@arturoc what do you think about this?  It would be nice to get something like this updated for 0.9.0."}}