{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"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":"include","path":"include","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","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-android.txt","path":"README-android.txt","contentType":"file"},{"name":"README-cmake.txt","path":"README-cmake.txt","contentType":"file"},{"name":"README-directfb.txt","path":"README-directfb.txt","contentType":"file"},{"name":"README-gesture.txt","path":"README-gesture.txt","contentType":"file"},{"name":"README-hg.txt","path":"README-hg.txt","contentType":"file"},{"name":"README-ios.txt","path":"README-ios.txt","contentType":"file"},{"name":"README-macosx.txt","path":"README-macosx.txt","contentType":"file"},{"name":"README-pandora.txt","path":"README-pandora.txt","contentType":"file"},{"name":"README-platforms.txt","path":"README-platforms.txt","contentType":"file"},{"name":"README-porting.txt","path":"README-porting.txt","contentType":"file"},{"name":"README-psp.txt","path":"README-psp.txt","contentType":"file"},{"name":"README-touch.txt","path":"README-touch.txt","contentType":"file"},{"name":"README-wince.txt","path":"README-wince.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":"configure","path":"configure","contentType":"file"},{"name":"configure.in","path":"configure.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":48}},"fileTreeProcessingTime":9.270847999999999,"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":"6344736696427ee86d3f56fb1a400aad9bf3927a","listCacheKey":"v0:1709678518.0","canEdit":false,"refType":"tree","currentOid":"6344736696427ee86d3f56fb1a400aad9bf3927a"},"path":"README-cmake.txt","currentUser":null,"blob":{"rawLines":["================================================================================\r","CMake build system for SDL (www.cmake.org)\r","================================================================================\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","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":[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],"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.txt","displayUrl":"https://github.com/libsdl-org/SDL/blame/6344736696427ee86d3f56fb1a400aad9bf3927a/README-cmake.txt?raw=true","headerInfo":{"blobSize":"1.08 KB","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":"63c762b","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Flibsdl-org%2FSDL%2Fblame%2F6344736696427ee86d3f56fb1a400aad9bf3927a%2FREADME-cmake.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"31","truncatedSloc":"25"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Text","languageID":372,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/libsdl-org/SDL/blame/6344736696427ee86d3f56fb1a400aad9bf3927a/README-cmake.txt","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/6344736696427ee86d3f56fb1a400aad9bf3927a/README-cmake.txt","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":true,"symbols":[]}},"copilotInfo":null,"copilotAccessAllowed":false,"blame":{"ranges":{"1":{"start":1,"oldStart":1,"end":31,"oldEnd":31,"commitOid":"dad420670fd8e7aa52088a045e5ba8c711b26f6f","reblamePath":null}},"commits":{"dad420670fd8e7aa52088a045e5ba8c711b26f6f":{"oid":"dad420670fd8e7aa52088a045e5ba8c711b26f6f","message":"Fixes #2022, do not resume on Android when surfaceChanged\n\nIf the app is in landscape mode and the user presses the power button, a pause\nis followed immediately by a surfaceChanged event because the lock screen\nis shown in portrait mode. This triggers a \"false\" resume.\nSo, we just pause and resume following the onWindowFocusChanged events.\n\nAlso, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before\nblocking the event pump.","shortMessageHtmlLink":"Fixes #2022, do not resume on Android when surfaceChanged","authorAvatarUrl":"https://avatars.githubusercontent.com/u/395944?s=80&v=4","committerName":"Gabriel Jacobo","committerEmail":"gabomdq@gmail.com","committedDate":"2013-08-12T11:13:50.000-03:00","firstParentOid":null}},"ignoreRevs":{"path":".git-blame-ignore-revs","present":false,"timedOut":null}},"csrf_tokens":{"/libsdl-org/SDL/branches":{"post":"2FAUsNx7XM1PPyljns42Uc_II7Au2L4TIk3yIRXKdgeVB09ABhWuP9gljOKovh6YSx0ufBzWirmPIVGazbrgVw"},"/repos/preferences":{"post":"v2CtD8tf3C-G8SoS78LYlP4P85KZUSR17zx136R-x1iXS5slq3BSisKCOybl32-53hgNv8SQJa9BbtCP7KvQFQ"}}},"title":"Blaming SDL/README-cmake.txt at 6344736696427ee86d3f56fb1a400aad9bf3927a ยท libsdl-org/SDL"}