File tree 8 files changed +26
-26
lines changed
8 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ endif (OPENSSL_FOUND)
16
16
17
17
set ( CPP-NETLIB_LOGGING_LIB "" )
18
18
if ( NOT CPP-NETLIB_DISABLE_LOGGING AND NOT CPP-NETLIB_BUILD_SINGLE_LIB)
19
- set ( CPP-NETLIB_LOGGING_LIB cppnetlib -logging )
19
+ set ( CPP-NETLIB_LOGGING_LIB network -logging )
20
20
endif ()
21
21
22
22
set (EXAMPLES
@@ -34,4 +34,4 @@ foreach(example ${EXAMPLES})
34
34
${CMAKE_THREAD_LIBS_INIT}
35
35
)
36
36
set_target_properties (${example} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CPP-NETLIB_BINARY_DIR }/example)
37
- endforeach (example)
37
+ endforeach (example)
Original file line number Diff line number Diff line change @@ -24,24 +24,24 @@ set(CPP-NETLIB_HTTP_MESSAGE_SRCS
24
24
http/response.cpp)
25
25
26
26
if (NOT CPP-NETLIB_BUILD_SINGLE_LIB)
27
- add_library (cppnetlib -http-message ${CPP-NETLIB_HTTP_MESSAGE_SRCS})
28
- target_link_libraries (cppnetlib -http-message
27
+ add_library (network -http-message ${CPP-NETLIB_HTTP_MESSAGE_SRCS})
28
+ target_link_libraries (network -http-message
29
29
${Boost_LIBRARIES}
30
- cppnetlib -message)
30
+ network -message)
31
31
endif ()
32
32
33
33
set (CPP-NETLIB_HTTP_MESSAGE_WRAPPERS_SRCS
34
34
http/message/wrappers.cpp)
35
35
36
36
if (NOT CPP-NETLIB_BUILD_SINGLE_LIB)
37
- add_library (cppnetlib -http-message-wrappers ${CPP-NETLIB_HTTP_MESSAGE_WRAPPERS_SRCS})
37
+ add_library (network -http-message-wrappers ${CPP-NETLIB_HTTP_MESSAGE_WRAPPERS_SRCS})
38
38
endif ()
39
39
40
40
set (CPP-NETLIB_CONSTANTS_SRCS
41
41
constants.cpp)
42
42
43
43
if (NOT CPP-NETLIB_BUILD_SINGLE_LIB)
44
- add_library (cppnetlib -constants ${CPP-NETLIB_CONSTANTS_SRCS})
44
+ add_library (network -constants ${CPP-NETLIB_CONSTANTS_SRCS})
45
45
endif ()
46
46
47
47
# Server implementation files.
@@ -51,7 +51,7 @@ set(CPP-NETLIB_HTTP_SERVER_SRCS
51
51
http/server/dynamic_dispatcher.cpp)
52
52
53
53
if (NOT CPP-NETLIB_BUILD_SINGLE_LIB)
54
- add_library (cppnetlib -http-server ${CPP-NETLIB_HTTP_SERVER_SRCS})
54
+ add_library (network -http-server ${CPP-NETLIB_HTTP_SERVER_SRCS})
55
55
endif ()
56
56
57
57
# HTTP client
Original file line number Diff line number Diff line change @@ -29,20 +29,20 @@ set( CPPNETLIB_LIBRARIES cppnetlib )
29
29
set ( CPPNETLIB_SERVER_LIBRARIES ${CPPNETLIB_LIBRARIES} )
30
30
if (NOT CPP-NETLIB_BUILD_SINGLE_LIB)
31
31
set ( CPPNETLIB_LIBRARIES
32
- cppnetlib -message
33
- cppnetlib -message-wrappers
34
- cppnetlib -http-message
35
- cppnetlib -http-message-wrappers
32
+ network -message
33
+ network -message-wrappers
34
+ network -http-message
35
+ network -http-message-wrappers
36
36
network-uri
37
- cppnetlib -constants )
37
+ network -constants )
38
38
39
39
# set( CPPNETLIB_CLIENT_LIBRARIES
40
40
# ${CPPNETLIB_LIBRARIES}
41
- # cppnetlib -http-client
42
- # cppnetlib -http-client-connections )
41
+ # network -http-client
42
+ # network -http-client-connections )
43
43
44
44
set ( CPPNETLIB_SERVER_LIBRARIES
45
- cppnetlib -http-server )
45
+ network -http-server )
46
46
endif ()
47
47
48
48
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ if( NOT CPP-NETLIB_DISABLE_LOGGING )
13
13
14
14
# this library name is defined only if we created the target
15
15
# if not then it will be empty
16
- set ( CPP-NETLIB_LOGGING_LIB cppnetlib -logging )
16
+ set ( CPP-NETLIB_LOGGING_LIB network -logging )
17
17
add_definitions (-DNETWORK_ENABLE_LOGGING)
18
18
19
19
if (CPP-NETLIB_BUILD_TESTS)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ include_directories(${CPP-NETLIB_SOURCE_DIR}/logging/src ${CPP-NETLIB_SOURCE_DIR
8
8
set (CPP-NETLIB_LOGGING_SRCS
9
9
logging.cpp)
10
10
11
- add_library (cppnetlib -logging ${CPP-NETLIB_LOGGING_SRCS})
11
+ add_library (network -logging ${CPP-NETLIB_LOGGING_SRCS})
12
12
13
13
# prepend current directory to make paths absolute
14
14
prependToElements( "${CMAKE_CURRENT_SOURCE_DIR} /"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ if (CPP-NETLIB_BUILD_TESTS)
18
18
if (CPP-NETLIB_BUILD_SINGLE_LIB)
19
19
set (link_cppnetlib_lib cppnetlib)
20
20
else ()
21
- set (link_cppnetlib_lib cppnetlib -logging)
21
+ set (link_cppnetlib_lib network -logging)
22
22
endif ()
23
23
foreach (test ${TESTS} )
24
24
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ include_directories(${CPP-NETLIB_SOURCE_DIR}/uri/src ${CPP-NETLIB_SOURCE_DIR}/me
10
10
set (CPP-NETLIB_MESSAGE_SRCS
11
11
message .cpp)
12
12
13
- add_library (cppnetlib -message ${CPP-NETLIB_MESSAGE_SRCS})
14
- target_link_libraries (cppnetlib -message network-uri)
13
+ add_library (network -message ${CPP-NETLIB_MESSAGE_SRCS})
14
+ target_link_libraries (network -message network-uri)
15
15
16
16
set (CPP-NETLIB_MESSAGE_DIRECTIVES_SRCS
17
17
directives.cpp)
18
18
19
- add_library (cppnetlib -message-directives ${CPP-NETLIB_MESSAGE_DIRECTIVES_SRCS})
19
+ add_library (network -message-directives ${CPP-NETLIB_MESSAGE_DIRECTIVES_SRCS})
20
20
21
21
set (CPP-NETLIB_MESSAGE_WRAPPERS_SRCS
22
22
wrappers.cpp)
23
23
24
- add_library (cppnetlib -message-wrappers ${CPP-NETLIB_MESSAGE_WRAPPERS_SRCS})
24
+ add_library (network -message-wrappers ${CPP-NETLIB_MESSAGE_WRAPPERS_SRCS})
25
25
26
26
# prepend current directory to make paths absolute
27
27
prependToElements( "${CMAKE_CURRENT_SOURCE_DIR} /"
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ if (CPP-NETLIB_BUILD_TESTS)
12
12
if (CPP-NETLIB_BUILD_SINGLE_LIB)
13
13
set (link_cppnetlib_lib cppnetlib)
14
14
else ()
15
- set (link_cppnetlib_lib cppnetlib -message
16
- cppnetlib -message-directives
17
- cppnetlib -message-wrappers)
15
+ set (link_cppnetlib_lib network -message
16
+ network -message-directives
17
+ network -message-wrappers)
18
18
endif ()
19
19
foreach (test ${TESTS} )
20
20
add_executable (cpp-netlib-${test} ${test} .cpp)
You can’t perform that action at this time.
0 commit comments