{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/5728","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/5728/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/5728/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/5728/events","html_url":"https://github.com/kripken/emscripten/issues/5728","id":269712688,"number":5728,"title":"Add --em-config support to cmake toolchain file","user":{"login":"iBicha","id":17722782,"avatar_url":"https://avatars1.githubusercontent.com/u/17722782?v=4","gravatar_id":"","url":"https://api.github.com/users/iBicha","html_url":"https://github.com/iBicha","followers_url":"https://api.github.com/users/iBicha/followers","following_url":"https://api.github.com/users/iBicha/following{/other_user}","gists_url":"https://api.github.com/users/iBicha/gists{/gist_id}","starred_url":"https://api.github.com/users/iBicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBicha/subscriptions","organizations_url":"https://api.github.com/users/iBicha/orgs","repos_url":"https://api.github.com/users/iBicha/repos","events_url":"https://api.github.com/users/iBicha/events{/privacy}","received_events_url":"https://api.github.com/users/iBicha/received_events","type":"User","site_admin":false},"labels":[{"id":117551575,"url":"https://api.github.com/repos/kripken/emscripten/labels/CMake","name":"CMake","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-30T18:48:30Z","updated_at":"2018-04-21T16:51:05Z","closed_at":"2018-04-21T16:51:05Z","author_association":"NONE","body":"If the SDK is **not** setup properly, and no env vars are setup correctly, cmake would fail at\r\n`execute_process(COMMAND \"${CMAKE_C_COMPILER}\" -v`\r\nSince there is no config available.\r\n\r\nIt would be better to be able to pass a -DEM_CONFIG, and if it's available, pass it to emcc.\r\nAlso, this would allow invoking emscripten with cmake without touching any env vars.\r\n\r\nThe use case for this is compiling with emscripten bundled with Unity (why install it again if it's there)\r\n\r\nWill do a PR if this makes sense."},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/383312204","html_url":"https://github.com/kripken/emscripten/issues/5728#issuecomment-383312204","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/5728","id":383312204,"user":{"login":"iBicha","id":17722782,"avatar_url":"https://avatars1.githubusercontent.com/u/17722782?v=4","gravatar_id":"","url":"https://api.github.com/users/iBicha","html_url":"https://github.com/iBicha","followers_url":"https://api.github.com/users/iBicha/followers","following_url":"https://api.github.com/users/iBicha/following{/other_user}","gists_url":"https://api.github.com/users/iBicha/gists{/gist_id}","starred_url":"https://api.github.com/users/iBicha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBicha/subscriptions","organizations_url":"https://api.github.com/users/iBicha/orgs","repos_url":"https://api.github.com/users/iBicha/repos","events_url":"https://api.github.com/users/iBicha/events{/privacy}","received_events_url":"https://api.github.com/users/iBicha/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T16:51:05Z","updated_at":"2018-04-21T16:51:05Z","author_association":"NONE","body":"Will close this for now. Feel free to reopen."}}
{"actor":{"display_login":"iBicha"}}