{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":"cmake","path":"cmake","contentType":"directory"},{"name":"dbusaddons","path":"dbusaddons","contentType":"directory"},{"name":"guiwrapper","path":"guiwrapper","contentType":"directory"},{"name":"platforminputcontext","path":"platforminputcontext","contentType":"directory"},{"name":"po","path":"po","contentType":"directory"},{"name":"quickphrase-editor","path":"quickphrase-editor","contentType":"directory"},{"name":"widgetsaddons","path":"widgetsaddons","contentType":"directory"},{"name":".clang-format","path":".clang-format","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"CMakeLists.txt","path":"CMakeLists.txt","contentType":"file"},{"name":"COPYING","path":"COPYING","contentType":"file"},{"name":"COPYING.BSD","path":"COPYING.BSD","contentType":"file"},{"name":"README","path":"README","contentType":"file"},{"name":"clang-format.sh","path":"clang-format.sh","contentType":"file"}],"totalCount":14}},"fileTreeProcessingTime":5.100767,"foldersToFetch":[],"repo":{"id":3935150,"defaultBranch":"master","name":"fcitx-qt5","ownerLogin":"fcitx","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-04-05T01:38:16.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/485062?v=4","public":true,"private":false,"isOrgOwned":true},"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"1.2.4","listCacheKey":"v0:1641091136.91474","canEdit":false,"refType":"tag","currentOid":"f7a5b3484bce1da4b54b6eb0cb5254126e985f2d"},"path":"CMakeLists.txt","currentUser":null,"blob":{"rawLines":["cmake_minimum_required(VERSION 3.1)","","project(fcitx-qt5)","","set(FcitxQt5_VERSION 1.1.0)","set(REQUIRED_QT_VERSION 5.1.0)","","find_package(ECM 1.4.0 REQUIRED NO_MODULE)","","set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)","","option(ENABLE_LIBRARY \"Qt library\" On)","","include(GNUInstallDirs)","include(FeatureSummary)","include(GenerateExportHeader)","include(CMakePackageConfigHelpers)","include(ECMSetupVersion)","include(ECMGenerateHeaders)","","include(CheckCXXCompilerFlag)","","check_cxx_compiler_flag(\"-std=c++11\" SUPPORT_CXX11)","","if(NOT SUPPORT_CXX11)"," message(FATAL_ERROR \"need c++ 11 compatible compiler to compile\")","endif()","","set(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++11 -Wall\")","","find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core DBus Widgets Concurrent)","find_package(Qt5Gui ${REQUIRED_QT_VERSION} REQUIRED Private)","find_package(XKBCommon 0.5.0 REQUIRED COMPONENTS XKBCommon)","","if (ENABLE_LIBRARY)","find_package(Fcitx 4.2.8 REQUIRED)","find_package(LibIntl REQUIRED)","endif ()","","set(FcitxQt5_INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_FULL_INCLUDEDIR}/FcitxQt5)","","if (ENABLE_LIBRARY)","add_subdirectory(dbusaddons)","add_subdirectory(widgetsaddons)","add_subdirectory(guiwrapper)","add_subdirectory(quickphrase-editor)","add_subdirectory(po)","endif()","","add_subdirectory(platforminputcontext)","","feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)"],"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":3,"cssClass":"pl-c1"}],[{"start":0,"end":3,"cssClass":"pl-c1"}],[],[{"start":0,"end":12,"cssClass":"pl-c1"},{"start":23,"end":31,"cssClass":"pl-k"},{"start":32,"end":41,"cssClass":"pl-k"}],[],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":4,"end":21,"cssClass":"pl-k"},{"start":22,"end":40,"cssClass":"pl-smi"},{"start":41,"end":62,"cssClass":"pl-smi"},{"start":63,"end":90,"cssClass":"pl-smi"}],[],[{"start":0,"end":6,"cssClass":"pl-c1"},{"start":22,"end":34,"cssClass":"pl-s"}],[],[{"start":0,"end":7,"cssClass":"pl-c1"}],[{"start":0,"end":7,"cssClass":"pl-c1"}],[{"start":0,"end":7,"cssClass":"pl-c1"}],[{"start":0,"end":7,"cssClass":"pl-c1"}],[{"start":0,"end":7,"cssClass":"pl-c1"}],[{"start":0,"end":7,"cssClass":"pl-c1"}],[],[{"start":0,"end":7,"cssClass":"pl-c1"}],[],[{"start":24,"end":36,"cssClass":"pl-s"}],[],[{"start":0,"end":2,"cssClass":"pl-k"},{"start":3,"end":6,"cssClass":"pl-k"}],[{"start":4,"end":11,"cssClass":"pl-c1"},{"start":12,"end":23,"cssClass":"pl-k"},{"start":24,"end":68,"cssClass":"pl-s"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":20,"end":57,"cssClass":"pl-s"},{"start":21,"end":39,"cssClass":"pl-smi"}],[],[{"start":0,"end":12,"cssClass":"pl-c1"},{"start":17,"end":39,"cssClass":"pl-smi"},{"start":40,"end":46,"cssClass":"pl-k"},{"start":47,"end":55,"cssClass":"pl-k"}],[{"start":0,"end":12,"cssClass":"pl-c1"},{"start":20,"end":42,"cssClass":"pl-smi"},{"start":43,"end":51,"cssClass":"pl-k"}],[{"start":0,"end":12,"cssClass":"pl-c1"},{"start":29,"end":37,"cssClass":"pl-k"},{"start":38,"end":48,"cssClass":"pl-k"}],[],[{"start":0,"end":2,"cssClass":"pl-k"}],[{"start":0,"end":12,"cssClass":"pl-c1"},{"start":25,"end":33,"cssClass":"pl-k"}],[{"start":0,"end":12,"cssClass":"pl-c1"},{"start":21,"end":29,"cssClass":"pl-k"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[],[{"start":0,"end":3,"cssClass":"pl-c1"},{"start":33,"end":65,"cssClass":"pl-smi"}],[],[{"start":0,"end":2,"cssClass":"pl-k"}],[{"start":0,"end":16,"cssClass":"pl-c1"}],[{"start":0,"end":16,"cssClass":"pl-c1"}],[{"start":0,"end":16,"cssClass":"pl-c1"}],[{"start":0,"end":16,"cssClass":"pl-c1"}],[{"start":0,"end":16,"cssClass":"pl-c1"}],[{"start":0,"end":5,"cssClass":"pl-k"}],[],[{"start":0,"end":16,"cssClass":"pl-c1"}],[],[{"start":21,"end":24,"cssClass":"pl-k"}]],"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/fcitx/fcitx-qt5/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"CMakeLists.txt","displayUrl":"https://github.com/fcitx/fcitx-qt5/blob/1.2.4/CMakeLists.txt?raw=true","headerInfo":{"blobSize":"1.34 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":"d10bb7f","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Ffcitx%2Ffcitx-qt5%2Fblob%2F1.2.4%2FCMakeLists.txt","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"52","truncatedSloc":"36"},"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":"/fcitx/fcitx-qt5/blob/1.2.4/CMakeLists.txt","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/fcitx/fcitx-qt5/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/fcitx/fcitx-qt5/raw/1.2.4/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":{"/fcitx/fcitx-qt5/branches":{"post":"ttP5qqO6FFhkrNXxEdfYoXR7SvFW1b040r9UWFlOdokUkw35MNFQYLXddfDnPdfSHDv2b0NbZDANRe8evxadVw"},"/repos/preferences":{"post":"-r3HtPfDrmFj2Bn83Q65JCeovbbzarxo55dHF6JyV2NioUan0N1HCHHMKPLHFFZQk6DwxdJnmPWCfkWRgdMOjQ"}}},"title":"fcitx-qt5/CMakeLists.txt at 1.2.4 ยท fcitx/fcitx-qt5"}