{"payload":{"allShortcutsEnabled":false,"fileTree":{"docs":{"items":[{"name":"README-android.md","path":"docs/README-android.md","contentType":"file"},{"name":"README-cmake.md","path":"docs/README-cmake.md","contentType":"file"},{"name":"README-directfb.md","path":"docs/README-directfb.md","contentType":"file"},{"name":"README-dynapi.md","path":"docs/README-dynapi.md","contentType":"file"},{"name":"README-emscripten.md","path":"docs/README-emscripten.md","contentType":"file"},{"name":"README-gesture.md","path":"docs/README-gesture.md","contentType":"file"},{"name":"README-hg.md","path":"docs/README-hg.md","contentType":"file"},{"name":"README-ios.md","path":"docs/README-ios.md","contentType":"file"},{"name":"README-linux.md","path":"docs/README-linux.md","contentType":"file"},{"name":"README-macosx.md","path":"docs/README-macosx.md","contentType":"file"},{"name":"README-nacl.md","path":"docs/README-nacl.md","contentType":"file"},{"name":"README-pandora.md","path":"docs/README-pandora.md","contentType":"file"},{"name":"README-platforms.md","path":"docs/README-platforms.md","contentType":"file"},{"name":"README-porting.md","path":"docs/README-porting.md","contentType":"file"},{"name":"README-psp.md","path":"docs/README-psp.md","contentType":"file"},{"name":"README-raspberrypi.md","path":"docs/README-raspberrypi.md","contentType":"file"},{"name":"README-touch.md","path":"docs/README-touch.md","contentType":"file"},{"name":"README-wince.md","path":"docs/README-wince.md","contentType":"file"},{"name":"README-windows.md","path":"docs/README-windows.md","contentType":"file"},{"name":"README-winrt.md","path":"docs/README-winrt.md","contentType":"file"},{"name":"README.md","path":"docs/README.md","contentType":"file"},{"name":"doxyfile","path":"docs/doxyfile","contentType":"file"}],"totalCount":22},"":{"items":[{"name":"VisualC-WinRT","path":"VisualC-WinRT","contentType":"directory"},{"name":"VisualC","path":"VisualC","contentType":"directory"},{"name":"Xcode-iOS","path":"Xcode-iOS","contentType":"directory"},{"name":"Xcode","path":"Xcode","contentType":"directory"},{"name":"acinclude","path":"acinclude","contentType":"directory"},{"name":"android-project","path":"android-project","contentType":"directory"},{"name":"build-scripts","path":"build-scripts","contentType":"directory"},{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"debian","path":"debian","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"visualtest","path":"visualtest","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"Android.mk","path":"Android.mk","contentType":"file"},{"name":"BUGS.txt","path":"BUGS.txt","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"COPYING.txt","path":"COPYING.txt","contentType":"file"},{"name":"CREDITS.txt","path":"CREDITS.txt","contentType":"file"},{"name":"INSTALL.txt","path":"INSTALL.txt","contentType":"file"},{"name":"Makefile.in","path":"Makefile.in","contentType":"file"},{"name":"Makefile.minimal","path":"Makefile.minimal","contentType":"file"},{"name":"Makefile.pandora","path":"Makefile.pandora","contentType":"file"},{"name":"Makefile.psp","path":"Makefile.psp","contentType":"file"},{"name":"Makefile.wiz","path":"Makefile.wiz","contentType":"file"},{"name":"README-SDL.txt","path":"README-SDL.txt","contentType":"file"},{"name":"README.txt","path":"README.txt","contentType":"file"},{"name":"SDL2.spec.in","path":"SDL2.spec.in","contentType":"file"},{"name":"TODO.txt","path":"TODO.txt","contentType":"file"},{"name":"VisualC.html","path":"VisualC.html","contentType":"file"},{"name":"WhatsNew.txt","path":"WhatsNew.txt","contentType":"file"},{"name":"autogen.sh","path":"autogen.sh","contentType":"file"},{"name":"cmake_uninstall.cmake.in","path":"cmake_uninstall.cmake.in","contentType":"file"},{"name":"configure","path":"configure","contentType":"file"},{"name":"configure.in","path":"configure.in","contentType":"file"},{"name":"sdl2-config.cmake.in","path":"sdl2-config.cmake.in","contentType":"file"},{"name":"sdl2-config.in","path":"sdl2-config.in","contentType":"file"},{"name":"sdl2.m4","path":"sdl2.m4","contentType":"file"},{"name":"sdl2.pc.in","path":"sdl2.pc.in","contentType":"file"}],"totalCount":40}},"fileTreeProcessingTime":11.462945000000001,"foldersToFetch":[],"repo":{"id":330008801,"defaultBranch":"main","name":"SDL","ownerLogin":"libsdl-org","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-01-15T19:55:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/77683370?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"189b5851b7565ae14688eea302696d95c440c70f","listCacheKey":"v0:1709678518.0","canEdit":false,"refType":"tree","currentOid":"189b5851b7565ae14688eea302696d95c440c70f"},"path":"docs/README-cmake.md","currentUser":null,"blob":{"rawLines":["CMake\r","================================================================================\r","(www.cmake.org)\r","\r","SDL's build system was traditionally based on autotools. Over time, this\r","approach has suffered from several issues across the different supported \r","platforms.\r","To solve these problems, a new build system based on CMake is under development.\r","It works in parallel to the legacy system, so users can experiment with it\r","without complication.\r","While still experimental, the build system should be usable on the following\r","platforms:\r","\r","* FreeBSD\r","* Linux\r","* VS.NET 2010\r","* MinGW and Msys\r","* OS X with support for XCode\r","\r","\r","================================================================================\r","Usage\r","================================================================================\r","\r","Assuming the source for SDL is located at ~/sdl\r","\r"," cd ~\r"," mkdir build\r"," cd build\r"," cmake ../sdl\r","\r","This will build the static and dynamic versions of SDL in the ~/build directory.\r"],"stylingDirectives":[[],[{"start":0,"end":80,"cssClass":"pl-mh"}],[{"start":1,"end":14,"cssClass":"pl-corl"}],[],[],[],[],[],[],[],[],[],[],[{"start":0,"end":1,"cssClass":"pl-v"}],[{"start":0,"end":1,"cssClass":"pl-v"}],[{"start":0,"end":1,"cssClass":"pl-v"}],[{"start":0,"end":1,"cssClass":"pl-v"}],[{"start":0,"end":1,"cssClass":"pl-v"}],[],[],[{"start":0,"end":80,"cssClass":"pl-mh"}],[],[{"start":0,"end":80,"cssClass":"pl-mh"}],[],[{"start":42,"end":43,"cssClass":"pl-s"}],[],[{"start":4,"end":8,"cssClass":"pl-c1"}],[{"start":4,"end":15,"cssClass":"pl-c1"}],[{"start":4,"end":12,"cssClass":"pl-c1"}],[{"start":4,"end":16,"cssClass":"pl-c1"}],[],[{"start":62,"end":63,"cssClass":"pl-s"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/libsdl-org/SDL/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"README-cmake.md","displayUrl":"https://github.com/libsdl-org/SDL/blame/189b5851b7565ae14688eea302696d95c440c70f/docs/README-cmake.md?raw=true","headerInfo":{"blobSize":"997 Bytes","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":null,"isGitLfs":false,"onBranch":false,"shortPath":"2ce11d7","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL%2Fblame%2F189b5851b7565ae14688eea302696d95c440c70f%2Fdocs%2FREADME-cmake.md","isCSV":false,"isRichtext":true,"toc":null,"lineInfo":{"truncatedLoc":"32","truncatedSloc":"25"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL/blame/189b5851b7565ae14688eea302696d95c440c70f/docs/README-cmake.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/libsdl-org/SDL/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/libsdl-org/SDL/raw/189b5851b7565ae14688eea302696d95c440c70f/docs/README-cmake.md","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"CMake","kind":"section_1","ident_start":0,"ident_end":5,"extent_start":0,"extent_end":89,"fully_qualified_name":"CMake","ident_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":0,"utf16_col":5}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":2,"utf16_col":0}}},{"name":"================================================================================\r\nUsage","kind":"section_1","ident_start":630,"ident_end":717,"extent_start":630,"extent_end":801,"fully_qualified_name":"================================================================================\r\nUsage","ident_utf16":{"start":{"line_number":20,"utf16_col":0},"end":{"line_number":21,"utf16_col":5}},"extent_utf16":{"start":{"line_number":20,"utf16_col":0},"end":{"line_number":23,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":1,"oldEnd":1,"commitOid":"104c9541d9510c2bb2b9aa478e90c54e6230dd8d","reblamePath":"docs/README-cmake.md"},"2":{"start":2,"oldStart":2,"end":2,"oldEnd":2,"commitOid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","reblamePath":null},"3":{"start":3,"oldStart":3,"end":3,"oldEnd":3,"commitOid":"104c9541d9510c2bb2b9aa478e90c54e6230dd8d","reblamePath":"docs/README-cmake.md"},"4":{"start":4,"oldStart":4,"end":32,"oldEnd":32,"commitOid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","reblamePath":null}},"commits":{"104c9541d9510c2bb2b9aa478e90c54e6230dd8d":{"oid":"104c9541d9510c2bb2b9aa478e90c54e6230dd8d","message":"Converted README documentation to DOS text format","shortMessageHtmlLink":"Converted README documentation to DOS text format","authorAvatarUrl":"https://avatars.githubusercontent.com/u/2100061?s=80&v=4","committerName":"Sam Lantinga","committerEmail":"slouken@libsdl.org","committedDate":"2016-10-07T17:46:58.000-07:00","firstParentOid":"bf076c22adc9b6f9b4dd82e0e51d70779b7ccd4e"},"0e45984fa036fff1912c62fee3ed4f5481f3c324":{"oid":"0e45984fa036fff1912c62fee3ed4f5481f3c324","message":"Fixed crash if initialization of EGL failed but was tried again later.\n\nThe internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly\nuninitialized data structure if loading the library first failed. A later try to\nuse EGL then skipped initialization and assumed it was previously successful\nbecause the data structure now already existed. This led to at least one crash\nin the internal function SDL_EGL_ChooseConfig() because a NULL pointer was\ndereferenced to make a call to eglBindAPI().","shortMessageHtmlLink":"Fixed crash if initialization of EGL failed but was tried again later.","authorAvatarUrl":"https://avatars.githubusercontent.com/u/5358527?s=80&v=4","committerName":"Philipp Wiesemann","committerEmail":"philipp.wiesemann@arcor.de","committedDate":"2015-06-21T17:33:46.000+02:00","firstParentOid":null}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL/branches":{"post":"bRQXTPC8IBiOMXVj26UQ_NLgl5eGI2hVBZrNxvMFk9Wj3h7hYymg-r36b7-w-7551fZngylFY2mH3ILV-BiU6w"},"/repos/preferences":{"post":"CMy5eK2uiMCwYpCNzn-QSYXKyuoaEJjcJ2hpi15jauYLHNGhZ7BddZgoAZ9zVWSQfml1QvMlD6dt11SerydHeQ"}}},"title":"Blaming SDL/docs/README-cmake.md at 189b5851b7565ae14688eea302696d95c440c70f ยท libsdl-org/SDL"}