Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
171930433 committed Mar 23, 2024
1 parent 6263a6b commit 3ac4252
Show file tree
Hide file tree
Showing 1,152 changed files with 5 additions and 292,168 deletions.
34 changes: 5 additions & 29 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,14 @@ project(yaLanTingLibs


# set(SYSROOT_DIR /opt/zhito/sysroot)
set(CMAKE_PREFIX_PATH /home/gsk/pro/CyberRT/install/)
set(CMAKE_PREFIX_PATH "/home/gsk/pro/ubuntu2204_docker")

find_package(Protobuf REQUIRED)

# load pack finder
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Find/)
add_subdirectory(src/protoc-plugin)

find_package(Threads REQUIRED)
link_libraries(Threads::Threads)
option(BUILD_EXAMPLES OFF)

include(cmake/install.cmake)

if(CMAKE_PROJECT_NAME STREQUAL "yaLanTingLibs") # if ylt is top-level project
# add include path
# include_directories(include)
# include_directories(include/ylt/thirdparty)
# include_directories(src/include)

# include(cmake/utils.cmake)
# include(cmake/struct_pb.cmake)
# include(cmake/build.cmake)
# include(cmake/develop.cmake)
# # add project config, such as enable_ssl.
# include(cmake/config.cmake)
# # add project's source such as unit test, example & benchmark
# include(cmake/subdir.cmake)
if(BUILD_EXAMPLES)
add_subdirectory(src/example)
endif()


# 指定struct_pb库目录



# add_subdirectory(src/protoc-plugin)
add_subdirectory(src/example)
29 changes: 0 additions & 29 deletions include/ylt/coro_http/coro_http_client.hpp

This file was deleted.

30 changes: 0 additions & 30 deletions include/ylt/coro_http/coro_http_server.hpp

This file was deleted.

235 changes: 0 additions & 235 deletions include/ylt/coro_io/channel.hpp

This file was deleted.

Loading

0 comments on commit 3ac4252

Please sign in to comment.