Skip to content

Commit ba06fcb

Browse files
committed
Merge branch 'develop'
2 parents 6be2ece + 0660ad8 commit ba06fcb

File tree

9 files changed

+42
-49
lines changed

9 files changed

+42
-49
lines changed

modules/alarm/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ install(
8181
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/alarm
8282
)
8383

84-
8584
# generate and install export file
8685
install(
8786
EXPORT ${TBOX_LIBRARY_NAME}_targets

modules/crypto/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ install(
6969
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/crypto
7070
)
7171

72-
7372
# generate and install export file
7473
install(
7574
EXPORT ${TBOX_LIBRARY_NAME}_targets

modules/event/CMakeLists.txt

+24-25
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,34 @@ add_definitions(-DMODULE_ID="tbox.event")
3030
set(TBOX_LIBRARY_NAME tbox_event)
3131

3232
set(TBOX_EVENT_HEADERS
33-
forward.h
34-
loop.h
35-
event.h
36-
fd_event.h
37-
timer_event.h
38-
signal_event.h
39-
stat.h)
33+
forward.h
34+
loop.h
35+
event.h
36+
fd_event.h
37+
timer_event.h
38+
signal_event.h
39+
stat.h)
4040

4141
set(TBOX_EVENT_SOURCES
42-
loop.cpp
43-
common_loop.cpp
44-
common_loop_timer.cpp
45-
common_loop_signal.cpp
46-
common_loop_run.cpp
47-
timer_event_impl.cpp
48-
signal_event_impl.cpp
49-
misc.cpp
50-
stat.cpp
51-
engines/epoll/loop.cpp
52-
engines/epoll/fd_event.cpp
53-
engines/select/loop.cpp
54-
engines/select/fd_event.cpp)
42+
loop.cpp
43+
common_loop.cpp
44+
common_loop_timer.cpp
45+
common_loop_signal.cpp
46+
common_loop_run.cpp
47+
timer_event_impl.cpp
48+
signal_event_impl.cpp
49+
misc.cpp
50+
stat.cpp
51+
engines/epoll/loop.cpp
52+
engines/epoll/fd_event.cpp
53+
engines/select/loop.cpp
54+
engines/select/fd_event.cpp)
5555

5656
set(TBOX_EVENT_TEST_SOURCES
57-
common_loop_test.cpp
58-
fd_event_test.cpp
59-
timer_event_test.cpp
60-
signal_event_test.cpp)
57+
common_loop_test.cpp
58+
fd_event_test.cpp
59+
timer_event_test.cpp
60+
signal_event_test.cpp)
6161

6262
add_library(${TBOX_LIBRARY_NAME} ${TBOX_BUILD_LIB_TYPE} ${TBOX_EVENT_SOURCES})
6363
add_library(tbox::${TBOX_LIBRARY_NAME} ALIAS ${TBOX_LIBRARY_NAME})
@@ -91,7 +91,6 @@ install(
9191
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/event
9292
)
9393

94-
9594
# generate and install export file
9695
install(
9796
EXPORT ${TBOX_LIBRARY_NAME}_targets

modules/log/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ install(
8383
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/log
8484
)
8585

86-
8786
# generate and install export file
8887
install(
8988
EXPORT ${TBOX_LIBRARY_NAME}_targets

modules/network/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ install(
103103
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/network
104104
)
105105

106-
107106
# generate and install export file
108107
install(
109108
EXPORT ${TBOX_LIBRARY_NAME}_targets

modules/terminal/CMakeLists.txt

+14-12
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,6 @@ add_definitions(-DMODULE_ID="tbox.terminal")
2929

3030
set(TBOX_LIBRARY_NAME tbox_terminal)
3131

32-
set(TBOX_TERMINAL_HEADERS
33-
types.h
34-
connection.h
35-
terminal_interact.h
36-
terminal_nodes.h
37-
session.h
38-
terminal.h
39-
helper.h
40-
service/telnetd.h
41-
service/tcp_rpc.h)
42-
4332
set(TBOX_TERMINAL_SOURCES
4433
terminal.cpp
4534
session.cpp
@@ -86,10 +75,23 @@ install(
8675

8776
# install header file
8877
install(
89-
FILES ${TBOX_TERMINAL_HEADERS}
78+
FILES
79+
types.h
80+
connection.h
81+
terminal_interact.h
82+
terminal_nodes.h
83+
session.h
84+
terminal.h
85+
helper.h
9086
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/terminal
9187
)
9288

89+
install(
90+
FILES
91+
service/telnetd.h
92+
service/tcp_rpc.h
93+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/terminal/service
94+
)
9395

9496
# generate and install export file
9597
install(

modules/trace/CMakeLists.txt

+3-6
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,11 @@ add_definitions(-DMODULE_ID="tbox.trace")
2929

3030
set(TBOX_LIBRARY_NAME tbox_trace)
3131

32-
set(TBOX_LOG_HEADERS
33-
sink.h)
32+
set(TBOX_LOG_HEADERS sink.h)
3433

35-
set(TBOX_LOG_SOURCES
36-
sink.cpp)
34+
set(TBOX_LOG_SOURCES sink.cpp)
3735

38-
set(TBOX_LOG_TEST_SOURCES
39-
sink_test.cpp)
36+
set(TBOX_LOG_TEST_SOURCES sink_test.cpp)
4037

4138
add_library(${TBOX_LIBRARY_NAME} ${TBOX_BUILD_LIB_TYPE} ${TBOX_LOG_SOURCES})
4239
add_library(tbox::${TBOX_LIBRARY_NAME} ALIAS ${TBOX_LIBRARY_NAME})

modules/util/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ install(
121121
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tbox/util
122122
)
123123

124-
125124
# generate and install export file
126125
install(
127126
EXPORT ${TBOX_LIBRARY_NAME}_targets

version.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
# TBOX版本号
2222
TBOX_VERSION_MAJOR := 1
2323
TBOX_VERSION_MINOR := 12
24-
TBOX_VERSION_REVISION := 1
24+
TBOX_VERSION_REVISION := 2

0 commit comments

Comments
 (0)