{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"GL","path":"GL","contentType":"directory"},{"name":"tests","path":"tests","contentType":"directory"},{"name":".hgignore","path":".hgignore","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"LICENSE.txt","path":"LICENSE.txt","contentType":"file"},{"name":"availableprofiles.c","path":"availableprofiles.c","contentType":"file"},{"name":"bestprofile.c","path":"bestprofile.c","contentType":"file"},{"name":"counts.sh","path":"counts.sh","contentType":"file"},{"name":"finderrors.c","path":"finderrors.c","contentType":"file"},{"name":"glcaps.c","path":"glcaps.c","contentType":"file"},{"name":"mojoshader.c","path":"mojoshader.c","contentType":"file"},{"name":"mojoshader.h","path":"mojoshader.h","contentType":"file"},{"name":"mojoshader_opengl.c","path":"mojoshader_opengl.c","contentType":"file"},{"name":"testoutput.c","path":"testoutput.c","contentType":"file"},{"name":"testparse.c","path":"testparse.c","contentType":"file"}],"totalCount":15}},"fileTreeProcessingTime":1.397978,"foldersToFetch":[],"repo":{"id":137922932,"defaultBranch":"main","name":"mojoshader","ownerLogin":"icculus","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2018-06-19T17:20:36.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/673562?v=4","public":true,"private":false,"isOrgOwned":false},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"77e0d845087fb92b2ff45b4011daa77526f9816d","listCacheKey":"v0:1624917734.114502","canEdit":false,"refType":"tree","currentOid":"77e0d845087fb92b2ff45b4011daa77526f9816d"},"path":"CMakeLists.txt","currentUser":null,"blob":{"rawLines":["CMAKE_MINIMUM_REQUIRED(VERSION 2.4)","PROJECT(MojoShader)","","EXECUTE_PROCESS("," COMMAND hg tip --template {rev}"," WORKING_DIRECTORY \"${CMAKE_CURRENT_SOURCE_DIR}\""," RESULT_VARIABLE HGVERSION_RC"," OUTPUT_VARIABLE MOJOSHADER_VERSION"," ERROR_QUIET"," OUTPUT_STRIP_TRAILING_WHITESPACE",")","EXECUTE_PROCESS("," COMMAND hg tip --template hg-{rev}:{node|short}"," WORKING_DIRECTORY \"${CMAKE_CURRENT_SOURCE_DIR}\""," RESULT_VARIABLE HGVERSION_RC"," OUTPUT_VARIABLE MOJOSHADER_CHANGESET"," ERROR_QUIET"," OUTPUT_STRIP_TRAILING_WHITESPACE",")","","WRITE_FILE("," \"${CMAKE_CURRENT_SOURCE_DIR}/mojoshader_version.h\""," \"/* This file was autogenerated. Do not edit! */\\n\""," \"#ifndef _INCL_MOJOSHADER_VERSION_H_\\n\""," \"#define _INCL_MOJOSHADER_VERSION_H_\\n\""," \"#define MOJOSHADER_VERSION ${MOJOSHADER_VERSION}\\n\""," \"#define MOJOSHADER_CHANGESET \\\"${MOJOSHADER_CHANGESET}\\\"\\n\""," \"#endif\\n\"",")","","IF(CMAKE_COMPILER_IS_GNUCC)"," ADD_DEFINITIONS(-Wall -ggdb3)","ENDIF(CMAKE_COMPILER_IS_GNUCC)","","# testparse uses this when I'm looking at memory usage patterns.","#ADD_DEFINITIONS(-DMOJOSHADER_DEBUG_MALLOC=1)","","IF(MSVC)"," ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS=1)"," ADD_DEFINITIONS(-TP) # force .c files to compile as C++.","ENDIF(MSVC)","","ADD_LIBRARY(mojoshader STATIC mojoshader.c mojoshader_opengl.c)","","FIND_PACKAGE(SDL)","IF(SDL_FOUND)"," INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR})"," ADD_DEFINITIONS(-DFINDERRORS_COMPILE_SHADERS=1)"," ADD_EXECUTABLE(glcaps glcaps.c)"," TARGET_LINK_LIBRARIES(glcaps ${SDL_LIBRARY})"," ADD_EXECUTABLE(bestprofile bestprofile.c)"," TARGET_LINK_LIBRARIES(bestprofile mojoshader ${SDL_LIBRARY})"," ADD_EXECUTABLE(availableprofiles availableprofiles.c)"," TARGET_LINK_LIBRARIES(availableprofiles mojoshader ${SDL_LIBRARY})","ENDIF(SDL_FOUND)","","ADD_EXECUTABLE(testparse testparse.c)","TARGET_LINK_LIBRARIES(testparse mojoshader)","ADD_EXECUTABLE(testoutput testoutput.c)","TARGET_LINK_LIBRARIES(testoutput mojoshader)","ADD_EXECUTABLE(finderrors finderrors.c)","TARGET_LINK_LIBRARIES(finderrors mojoshader ${SDL_LIBRARY})","","# End of CMakeLists.txt ..."],"stylingDirectives":[[{"start":0,"end":22,"cssClass":"pl-c1"},{"start":23,"end":30,"cssClass":"pl-k"}],[{"start":0,"end":7,"cssClass":"pl-c1"}],[],[{"start":0,"end":15,"cssClass":"pl-c1"}],[{"start":4,"end":11,"cssClass":"pl-k"}],[{"start":4,"end":21,"cssClass":"pl-k"},{"start":22,"end":51,"cssClass":"pl-s"},{"start":23,"end":50,"cssClass":"pl-smi"}],[{"start":4,"end":19,"cssClass":"pl-k"}],[{"start":4,"end":19,"cssClass":"pl-k"}],[{"start":4,"end":15,"cssClass":"pl-k"}],[{"start":4,"end":36,"cssClass":"pl-k"}],[],[{"start":0,"end":15,"cssClass":"pl-c1"}],[{"start":4,"end":11,"cssClass":"pl-k"}],[{"start":4,"end":21,"cssClass":"pl-k"},{"start":22,"end":51,"cssClass":"pl-s"},{"start":23,"end":50,"cssClass":"pl-smi"}],[{"start":4,"end":19,"cssClass":"pl-k"}],[{"start":4,"end":19,"cssClass":"pl-k"}],[{"start":4,"end":15,"cssClass":"pl-k"}],[{"start":4,"end":36,"cssClass":"pl-k"}],[],[],[{"start":0,"end":10,"cssClass":"pl-c1"}],[{"start":4,"end":54,"cssClass":"pl-s"},{"start":5,"end":32,"cssClass":"pl-smi"}],[{"start":4,"end":55,"cssClass":"pl-s"},{"start":52,"end":54,"cssClass":"pl-cce"}],[{"start":4,"end":43,"cssClass":"pl-s"},{"start":40,"end":42,"cssClass":"pl-cce"}],[{"start":4,"end":43,"cssClass":"pl-s"},{"start":40,"end":42,"cssClass":"pl-cce"}],[{"start":4,"end":56,"cssClass":"pl-s"},{"start":32,"end":53,"cssClass":"pl-smi"},{"start":53,"end":55,"cssClass":"pl-cce"}],[{"start":4,"end":64,"cssClass":"pl-s"},{"start":34,"end":36,"cssClass":"pl-cce"},{"start":36,"end":59,"cssClass":"pl-smi"},{"start":59,"end":63,"cssClass":"pl-cce"}],[{"start":4,"end":14,"cssClass":"pl-s"},{"start":11,"end":13,"cssClass":"pl-cce"}],[],[],[{"start":0,"end":2,"cssClass":"pl-k"}],[{"start":4,"end":19,"cssClass":"pl-c1"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[],[{"start":0,"end":64,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[{"start":0,"end":45,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[],[{"start":0,"end":2,"cssClass":"pl-k"}],[{"start":4,"end":19,"cssClass":"pl-c1"}],[{"start":4,"end":19,"cssClass":"pl-c1"},{"start":26,"end":61,"cssClass":"pl-c"},{"start":26,"end":27,"cssClass":"pl-c"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[],[{"start":0,"end":11,"cssClass":"pl-c1"},{"start":23,"end":29,"cssClass":"pl-k"}],[],[{"start":0,"end":12,"cssClass":"pl-c1"}],[{"start":0,"end":2,"cssClass":"pl-k"}],[{"start":4,"end":23,"cssClass":"pl-c1"},{"start":24,"end":42,"cssClass":"pl-smi"}],[{"start":4,"end":19,"cssClass":"pl-c1"}],[{"start":4,"end":18,"cssClass":"pl-c1"}],[{"start":4,"end":25,"cssClass":"pl-c1"},{"start":33,"end":47,"cssClass":"pl-smi"}],[{"start":4,"end":18,"cssClass":"pl-c1"}],[{"start":4,"end":25,"cssClass":"pl-c1"},{"start":49,"end":63,"cssClass":"pl-smi"}],[{"start":4,"end":18,"cssClass":"pl-c1"}],[{"start":4,"end":25,"cssClass":"pl-c1"},{"start":55,"end":69,"cssClass":"pl-smi"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[],[{"start":0,"end":14,"cssClass":"pl-c1"}],[{"start":0,"end":21,"cssClass":"pl-c1"}],[{"start":0,"end":14,"cssClass":"pl-c1"}],[{"start":0,"end":21,"cssClass":"pl-c1"}],[{"start":0,"end":14,"cssClass":"pl-c1"}],[{"start":0,"end":21,"cssClass":"pl-c1"},{"start":44,"end":58,"cssClass":"pl-smi"}],[],[{"start":0,"end":27,"cssClass":"pl-c"},{"start":0,"end":1,"cssClass":"pl-c"}],[]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/icculus/mojoshader/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"CMakeLists.txt","displayUrl":"https://github.com/icculus/mojoshader/blob/77e0d845087fb92b2ff45b4011daa77526f9816d/CMakeLists.txt?raw=true","headerInfo":{"blobSize":"2.01 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":"1aa0fe3","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Ficculus%2Fmojoshader%2Fblob%2F77e0d845087fb92b2ff45b4011daa77526f9816d%2FCMakeLists.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"65","truncatedSloc":"55"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"CMake","languageID":47,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/icculus/mojoshader/blob/77e0d845087fb92b2ff45b4011daa77526f9816d/CMakeLists.txt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/icculus/mojoshader/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/icculus/mojoshader/raw/77e0d845087fb92b2ff45b4011daa77526f9816d/CMakeLists.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,"csrf_tokens":{"/icculus/mojoshader/branches":{"post":"5V54kSJhd8Uj1J5mTcI3ieTbq8j_mAgMK0gNE_sCCXix9RAyHz_BJc6FJWjTKmwgnFL5A2gmOYmFKj-IY8TxQw"},"/repos/preferences":{"post":"OD_6ZYRo-Mw3Ts9dX50X8g0q3jEoc2Tcah0uu8GzCF1j9h_cCtD0zcNofsZi1h4vYBTlSZFKEgPOD_gmi-96TQ"}}},"title":"mojoshader/CMakeLists.txt at 77e0d845087fb92b2ff45b4011daa77526f9816d ยท icculus/mojoshader"}