Skip to content

Commit 4591dc8

Browse files
committed
cmake style fixin's
1 parent 9396102 commit 4591dc8

File tree

13 files changed

+73
-72
lines changed

13 files changed

+73
-72
lines changed

src/account/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
set(EXECUTABLE_NAME account)
8-
set(LIBRARY_NAME libaccount)
8+
set(LIBRARY_NAME libaccount)
99

1010
set(LIBRARY_HDR
1111
FilterTypes.h
1212
AccountService.h
1313
Sessions.h
1414
AccountHandler.h
1515
Service.h
16-
)
16+
)
1717

1818
set(LIBRARY_SRC
1919
AccountService.cpp
2020
Sessions.cpp
2121
AccountHandler.cpp
2222
Service.cpp
23-
)
23+
)
2424

2525
include_directories(${SPARK_INCLUDES_DIR})
2626

src/character/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
set(EXECUTABLE_NAME character)
8-
set(LIBRARY_NAME libcharacter)
8+
set(LIBRARY_NAME libcharacter)
99

1010
set(LIBRARY_HDR
1111
CharacterHandler.h
1212
InventoryTypes.h
1313
FilterTypes.h
1414
CharacterService.h
1515
Service.h
16-
)
16+
)
1717

1818
set(LIBRARY_SRC
1919
CharacterHandler.cpp
2020
CharacterService.cpp
2121
Service.cpp
22-
)
22+
)
2323

2424
include_directories(${CMAKE_SOURCE_DIR}/deps/utf8cpp)
2525

src/gateway/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
set(EXECUTABLE_NAME gateway)
8-
set(LIBRARY_NAME libgateway)
8+
set(LIBRARY_NAME libgateway)
99

1010
set(LIBRARY_HDR
1111
Config.h
@@ -35,7 +35,7 @@ set(LIBRARY_HDR
3535
CompressMessage.h
3636
Routing.h
3737
ClientLogHelper.h
38-
ConnectionDefines.h
38+
ConnectionDefines.h
3939
SocketType.h
4040
states/ClientStates.h
4141
states/Authentication.h
@@ -54,7 +54,7 @@ set(LIBRARY_HDR
5454
packet_log/FBSink.h
5555
packet_log/LogSink.h
5656
Service.h
57-
)
57+
)
5858

5959
set(LIBRARY_SRC
6060
EventDispatcher.cpp
@@ -81,12 +81,12 @@ set(LIBRARY_SRC
8181
packet_log/FBSink.cpp
8282
packet_log/LogSink.cpp
8383
Service.cpp
84-
)
84+
)
8585

8686
add_library(${LIBRARY_NAME} ${LIBRARY_HDR} ${LIBRARY_SRC})
8787
add_dependencies(${LIBRARY_NAME} FB_SCHEMA_COMPILE)
88-
target_link_libraries(${LIBRARY_NAME} PRIVATE ${Boost_LIBRARIES} PRIVATE nsd conpool stun ports dbcreader protocol spark
89-
logger shared ${ZLIB_LIBRARY} ${BOTAN_LIBRARY} Threads::Threads)
88+
target_link_libraries(${LIBRARY_NAME} PRIVATE ${Boost_LIBRARIES} nsd conpool stun ports dbcreader protocol spark
89+
logger shared ${ZLIB_LIBRARY} ${BOTAN_LIBRARY} Threads::Threads)
9090
target_include_directories(${LIBRARY_NAME} PUBLIC ${CMAKE_BINARY_DIR})
9191

9292
add_executable(${EXECUTABLE_NAME} main.cpp)

src/libs/dbcreader/CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ set(CODE_OUTPUT_DIR ${PROJECT_BINARY_DIR}/src/dbcreader)
1717
set(FILE_LOG_VERBOSITY info)
1818

1919
build_dbc_loaders(DBC_HDR DBC_SRC
20-
"${DBC_DEFINITION_DIRS}"
21-
${CODE_OUTPUT_DIR}
22-
${CODE_TEMPLATE_DIR}
23-
${DBC_TARGET_NAME}
24-
${FILE_LOG_VERBOSITY})
20+
"${DBC_DEFINITION_DIRS}"
21+
${CODE_OUTPUT_DIR}
22+
${CODE_TEMPLATE_DIR}
23+
${DBC_TARGET_NAME}
24+
${FILE_LOG_VERBOSITY}
25+
)
2526

2627
add_library(${LIBRARY_NAME} ${DBC_HDR} ${DBC_SRC}
2728
include/dbcreader/Reader.h

src/libs/nsd/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ set(LIBRARY_NAME nsd)
88

99
set(LIBRARY_HDR
1010
include/nsd/NSD.h
11-
)
11+
)
1212

1313
set(LIBRARY_SRC
1414
src/NSD.cpp
15-
)
15+
)
1616

1717
add_library(${LIBRARY_NAME} ${LIBRARY_HDR} ${LIBRARY_SRC})
1818

src/libs/spark/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ set(IO_SRC
3838
include/spark/buffers/BufferSequence.h
3939
include/spark/buffers/BinaryStream.h
4040
include/spark/buffers/StaticBuffer.h
41-
include/spark/buffers/Concepts.h
41+
include/spark/buffers/Concepts.h
4242
include/spark/buffers/detail/IntrusiveStorage.h
4343
include/spark/buffers/FileBuffer.h
4444
include/spark/buffers/Endian.h
@@ -71,7 +71,7 @@ add_library(
7171
${CORE}
7272
${IO_SRC}
7373
${IO_PMR_SRC}
74-
${IO_ALLOC_SRC}
74+
${IO_ALLOC_SRC}
7575
)
7676

7777
source_group("Core" FILES ${CORE})

src/libs/stun/CMakeLists.txt

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,28 @@
77
set(LIBRARY_NAME stun)
88

99
add_library(${LIBRARY_NAME}
10-
include/stun/Client.h
11-
include/stun/TransportBase.h
12-
include/stun/DatagramTransport.h
13-
include/stun/StreamTransport.h
14-
include/stun/Protocol.h
15-
include/stun/Logging.h
16-
include/stun/Attributes.h
17-
include/stun/Transaction.h
18-
include/stun/Parser.h
19-
include/stun/Parser.inl
20-
include/stun/Utility.h
21-
include/stun/Exception.h
22-
include/stun/detail/Shared.h
23-
include/stun/MessageBuilder.h
24-
src/Client.cpp
25-
src/DatagramTransport.cpp
26-
src/StreamTransport.cpp
27-
src/Protocol.cpp
28-
src/Parser.cpp
29-
src/MessageBuilder.cpp
30-
src/detail/Shared.cpp
31-
)
10+
include/stun/Client.h
11+
include/stun/TransportBase.h
12+
include/stun/DatagramTransport.h
13+
include/stun/StreamTransport.h
14+
include/stun/Protocol.h
15+
include/stun/Logging.h
16+
include/stun/Attributes.h
17+
include/stun/Transaction.h
18+
include/stun/Parser.h
19+
include/stun/Parser.inl
20+
include/stun/Utility.h
21+
include/stun/Exception.h
22+
include/stun/detail/Shared.h
23+
include/stun/MessageBuilder.h
24+
src/Client.cpp
25+
src/DatagramTransport.cpp
26+
src/StreamTransport.cpp
27+
src/Protocol.cpp
28+
src/Parser.cpp
29+
src/MessageBuilder.cpp
30+
src/detail/Shared.cpp
31+
)
3232

3333
target_link_libraries(${LIBRARY_NAME} shared spark ${BOTAN_LIBRARY} ${Boost_LIBRARIES})
3434
target_include_directories(${LIBRARY_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)

src/login/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
set(EXECUTABLE_NAME login)
8-
set(LIBRARY_NAME liblogin)
8+
set(LIBRARY_NAME liblogin)
99

1010
set(GRUNT_SRC
1111
grunt/Magic.h
@@ -58,12 +58,12 @@ set(LIBRARY_HDR
5858
IntegrityData.h
5959
IntegrityPlatforms.h
6060
LocaleMap.h
61-
LoginState.h
62-
Survey.h
61+
LoginState.h
62+
Survey.h
6363
LoginHandlerFwd.h
6464
SocketType.h
6565
Service.h
66-
)
66+
)
6767

6868
set(LIBRARY_SRC
6969
LoginHandler.cpp
@@ -80,9 +80,9 @@ set(LIBRARY_SRC
8080
PatchGraph.cpp
8181
IntegrityData.cpp
8282
LocaleMap.cpp
83-
Survey.cpp
83+
Survey.cpp
8484
Service.cpp
85-
)
85+
)
8686

8787
source_group("Grunt Protocol" FILES ${GRUNT_SRC})
8888

src/mdns/CMakeLists.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
set(EXECUTABLE_NAME mdns)
8-
set(LIBRARY_NAME libmdns)
8+
set(LIBRARY_NAME libmdns)
99

1010
set(LIBRARY_HDR
1111
ServiceRegistry.h
@@ -14,23 +14,23 @@ set(LIBRARY_HDR
1414
Socket.h
1515
DNSDefines.h
1616
Handler.h
17-
Utility.h
18-
Serialisation.h
19-
detail/Parser.h
20-
NSDService.h
21-
Service.h
22-
)
17+
Utility.h
18+
Serialisation.h
19+
detail/Parser.h
20+
NSDService.h
21+
Service.h
22+
)
2323

2424
set(LIBRARY_SRC
2525
ServiceRegistry.cpp
2626
MulticastSocket.cpp
2727
Server.cpp
28-
Utility.cpp
29-
Serialisation.cpp
30-
detail/Parser.cpp
31-
NSDService.cpp
32-
Service.cpp
33-
)
28+
Utility.cpp
29+
Serialisation.cpp
30+
detail/Parser.cpp
31+
NSDService.cpp
32+
Service.cpp
33+
)
3434

3535
add_library(${LIBRARY_NAME} ${LIBRARY_HDR} ${LIBRARY_SRC})
3636
target_link_libraries(${LIBRARY_NAME} PRIVATE logger shared spark ${Boost_LIBRARIES} Threads::Threads FB_SCHEMA_COMPILE)

src/social/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
66

77
set(EXECUTABLE_NAME social)
8-
set(LIBRARY_NAME libsocial)
8+
set(LIBRARY_NAME libsocial)
99

1010
set(LIBRARY_HDR
1111
MonitorCallbacks.h
1212
FilterTypes.h
13-
)
13+
)
1414

1515
set(LIBRARY_SRC
1616
MonitorCallbacks.cpp
17-
)
17+
)
1818

1919
add_library(${LIBRARY_NAME} ${LIBRARY_HDR} ${LIBRARY_SRC})
2020
target_link_libraries(${LIBRARY_NAME} logger shared ${Boost_LIBRARIES} FB_SCHEMA_COMPILE)

0 commit comments

Comments
 (0)