Skip to content

Commit

Permalink
Change to cmake-toolset
Browse files Browse the repository at this point in the history
Signed-off-by: owent <admin@owent.net>
  • Loading branch information
owent committed May 20, 2021
1 parent ea1addb commit 4dacac6
Show file tree
Hide file tree
Showing 32 changed files with 227 additions and 1,869 deletions.
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 100
ColumnLimit: 120
DerivePointerAlignment: true
PointerAlignment: Left

# Only sort headers in each include block
SortIncludes: false
SortIncludes: true
IncludeBlocks: Preserve

# Ident #if/#else/#endif:
Expand All @@ -21,6 +21,6 @@ IndentPPDirectives: AfterHash
---
Language: Proto
BasedOnStyle: Google
ColumnLimit: 100
ColumnLimit: 120
---

2 changes: 1 addition & 1 deletion .cmake-format.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# @see https://cmake-format.readthedocs.io/en/latest/configuration.html for more details

format:
line_width: 100
line_width: 120
tab_size: 2
use_tabchars: false
line_ending: unix
Expand Down
14 changes: 7 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@
build/*
build_*

# prebuilt directory
/3rd_party/*/prebuilt
/3rd_party/*/pkg
/3rd_party/libuv/repo-*
/3rd_party/c_cpp_utils/repo
/3rd_party/atframe_utils/repo

# project files
/.idea
/.vs
Expand All @@ -41,3 +34,10 @@ build_*
/include/libatbus_protocol.pb.h
/include/libatbus_protocol.pb
/src/libatbus_protocol.pb.cc

/atframework/cmake-toolset
/atframework/atframe_utils

# prebuilt directory
/third_party/install
/third_party/packages
8 changes: 8 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[submodule "atframework/atframe_utils"]
path = atframework/atframe_utils
url = https://github.com/atframework/atframe_utils.git
branch = main
[submodule "atframework/cmake-toolset"]
path = atframework/cmake-toolset
url = https://github.com/atframework/cmake-toolset.git
branch = main
153 changes: 0 additions & 153 deletions .travis.yml

This file was deleted.

22 changes: 0 additions & 22 deletions 3rd_party/3rd_party.macro.cmake

This file was deleted.

53 changes: 0 additions & 53 deletions 3rd_party/FindFlatBuffers.cmake

This file was deleted.

3 changes: 0 additions & 3 deletions 3rd_party/atframe_utils/libatframe_utils.cmake

This file was deleted.

46 changes: 0 additions & 46 deletions 3rd_party/atframe_utils/libatframe_utils.prepare.cmake

This file was deleted.

Loading

0 comments on commit 4dacac6

Please sign in to comment.