From 027fdfd57595475158705029cd12584983f71eeb Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Sat, 22 Jan 2022 19:20:35 +0800 Subject: [PATCH] Remove Useless CMakeLists --- Source/Engine/vChewing/CMakeLists.txt | 24 ------------------------ vChewing.xcodeproj/project.pbxproj | 4 ---- 2 files changed, 28 deletions(-) delete mode 100644 Source/Engine/vChewing/CMakeLists.txt diff --git a/Source/Engine/vChewing/CMakeLists.txt b/Source/Engine/vChewing/CMakeLists.txt deleted file mode 100644 index 7a97530f..00000000 --- a/Source/Engine/vChewing/CMakeLists.txt +++ /dev/null @@ -1,24 +0,0 @@ -cmake_minimum_required(VERSION 3.17) -project(KeyValueBlobReader) - -set(CMAKE_CXX_STANDARD 17) - -add_library(KeyValueBlobReader KeyValueBlobReader.cpp KeyValueBlobReader.h) - -# Let CMake fetch Google Test for us. -# https://github.com/google/googletest/tree/main/googletest#incorporating-into-an-existing-cmake-project -include(FetchContent) - -FetchContent_Declare( - googletest - # Specify the commit you depend on and update it regularly. - URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip -) -# For Windows: Prevent overriding the parent project's compiler/linker settings -set(gtest_force_shared_crt ON CACHE BOOL "" FORCE) -FetchContent_MakeAvailable(googletest) - -# Test target declarations. -add_executable(KeyValueBlobReadTest KeyValueBlobReaderTest.cpp) -target_link_libraries(KeyValueBlobReadTest gtest_main KeyValueBlobReader) -add_test(NAME KeyValueBlobReadTest COMMAND KeyValueBlobReadTest) diff --git a/vChewing.xcodeproj/project.pbxproj b/vChewing.xcodeproj/project.pbxproj index b2e62e06..06414c92 100644 --- a/vChewing.xcodeproj/project.pbxproj +++ b/vChewing.xcodeproj/project.pbxproj @@ -20,7 +20,6 @@ 5B5F4F93279294A300922DC2 /* LanguageModelManager.mm in Sources */ = {isa = PBXBuildFile; fileRef = 5B5F4F92279294A300922DC2 /* LanguageModelManager.mm */; }; 5B5F4F972792A4EA00922DC2 /* UserPhrasesLM.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5B5F4F962792A4EA00922DC2 /* UserPhrasesLM.cpp */; }; 5B6797B52794822C004AC7CE /* PhraseReplacementMap.h in Sources */ = {isa = PBXBuildFile; fileRef = 5B6797B32794822C004AC7CE /* PhraseReplacementMap.h */; }; - 5BC2D2872793B434002C0BEC /* CMakeLists.txt in Resources */ = {isa = PBXBuildFile; fileRef = 5BC2D2852793B434002C0BEC /* CMakeLists.txt */; }; 5BC2D2882793B434002C0BEC /* KeyValueBlobReader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5BC2D2862793B434002C0BEC /* KeyValueBlobReader.cpp */; }; 5BC2D28B2793B8FB002C0BEC /* EmacsKeyHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BC2D28A2793B8FB002C0BEC /* EmacsKeyHelper.swift */; }; 5BC2D28D2793B98F002C0BEC /* PreferencesModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5BC2D28C2793B98F002C0BEC /* PreferencesModule.swift */; }; @@ -116,7 +115,6 @@ 5B9781D82763850700897999 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "Source/zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; 5BA923AC2791B7C20001323A /* vChewingInstaller-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "vChewingInstaller-Bridging-Header.h"; sourceTree = ""; }; 5BC2D2842793B434002C0BEC /* KeyValueBlobReader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KeyValueBlobReader.h; sourceTree = ""; }; - 5BC2D2852793B434002C0BEC /* CMakeLists.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = ""; }; 5BC2D2862793B434002C0BEC /* KeyValueBlobReader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = KeyValueBlobReader.cpp; sourceTree = ""; }; 5BC2D28A2793B8FB002C0BEC /* EmacsKeyHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmacsKeyHelper.swift; sourceTree = ""; }; 5BC2D28C2793B98F002C0BEC /* PreferencesModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PreferencesModule.swift; sourceTree = ""; }; @@ -272,7 +270,6 @@ isa = PBXGroup; children = ( 5BC2D2842793B434002C0BEC /* KeyValueBlobReader.h */, - 5BC2D2852793B434002C0BEC /* CMakeLists.txt */, 5BC2D2862793B434002C0BEC /* KeyValueBlobReader.cpp */, 5BD0D1A3279463510008F48E /* clsOOBEDefaults.swift */, ); @@ -647,7 +644,6 @@ 5BD0D19F279454F60008F48E /* Beep.aif in Resources */, 5BC3FB83278492DE0022E99A /* data-chs.txt in Resources */, 5B000FC4278495AD004F02AC /* SimpBopomofo@2x.tiff in Resources */, - 5BC2D2872793B434002C0BEC /* CMakeLists.txt in Resources */, ); runOnlyForDeploymentPostprocessing = 0; };