Skip to content

Commit

Permalink
fix: remove not generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
LoremIPsummer committed Oct 31, 2023
1 parent 7c91d74 commit 6dcc099
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 36 deletions.
3 changes: 0 additions & 3 deletions plugins/cpp_reparse/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ add_definitions(${LLVM_DEFINITIONS})

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/CppReparseService.cpp
Expand All @@ -42,7 +40,6 @@ add_custom_command(
"Generating Thrift for cppreparse.thrift")

add_library(cppreparsethrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/cppreparse_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/CppReparseService.cpp)

Expand Down
6 changes: 0 additions & 6 deletions plugins/dummy/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/DummyService.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/DummyService.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp
Expand All @@ -26,8 +22,6 @@ add_custom_command(
"Generating Thrift for dummy.thrift")

add_library(dummythrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/dummy_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/DummyService.cpp)

target_compile_options(dummythrift PUBLIC -fPIC)
Expand Down
3 changes: 0 additions & 3 deletions plugins/git/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/GitService.cpp
Expand All @@ -31,7 +29,6 @@ add_custom_command(
"Generating Thrift for git.thrift")

add_library(gitthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/git_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/GitService.cpp)

Expand Down
3 changes: 0 additions & 3 deletions plugins/metrics/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/MetricsService.cpp
Expand All @@ -30,7 +28,6 @@ add_custom_command(
"Generating Thrift for metrics.thrift")

add_library(metricsthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/metrics_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/MetricsService.cpp)

Expand Down
2 changes: 0 additions & 2 deletions plugins/search/service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ include_directories(SYSTEM
# Generate thrift files
add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/SearchService.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp
Expand All @@ -32,7 +31,6 @@ add_custom_command(

# Create cpp static library from thrift files
add_library(searchthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/search_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/SearchService.cpp)

Expand Down
3 changes: 0 additions & 3 deletions service/authentication/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/AuthenticationService.cpp
Expand All @@ -29,7 +27,6 @@ add_custom_command(
"Generating Thrift for authentication.thrift")

add_library(authenticationthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/authentication_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/AuthenticationService.cpp)

Expand Down
3 changes: 0 additions & 3 deletions service/language/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/language_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/language_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/language_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/language_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/LanguageService.cpp
Expand All @@ -24,7 +22,6 @@ add_custom_command(
"Generating Thrift for language.thrift")

add_library(languagethrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/language_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/language_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/LanguageService.cpp)

Expand Down
6 changes: 0 additions & 6 deletions service/plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/plugin_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/plugin_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/plugin_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/plugin_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/PluginService.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/PluginService.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp
Expand All @@ -27,8 +23,6 @@ add_custom_command(
"Generating Thrift for plugin.thrift")

add_library(pluginthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/plugin_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/plugin_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/PluginService.cpp)

target_compile_options(pluginthrift PUBLIC -fPIC -Wno-unknown-pragmas)
Expand Down
4 changes: 0 additions & 4 deletions service/project/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ add_custom_command(
# Do not add the same folders to both output commands as it produces a warning.
add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/project_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/project_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/project_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/project_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/ProjectService.cpp
Expand All @@ -48,13 +46,11 @@ add_custom_command(
"Generating Thrift for project.thrift")

add_library(commonthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/common_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/common_types.cpp)

target_compile_options(commonthrift PUBLIC -fPIC)

add_library(projectthrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/project_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/project_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/ProjectService.cpp)

Expand Down
3 changes: 0 additions & 3 deletions service/workspace/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ include_directories(SYSTEM

add_custom_command(
OUTPUT
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/workspace_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/workspace_constants.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/workspace_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/workspace_types.h
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/WorkspaceService.cpp
Expand All @@ -27,7 +25,6 @@ add_custom_command(
"Generating Thrift for workspace.thrift")

add_library(workspacethrift STATIC
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/workspace_constants.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/workspace_types.cpp
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/WorkspaceService.cpp)

Expand Down

0 comments on commit 6dcc099

Please sign in to comment.