File tree Expand file tree Collapse file tree 5 files changed +0
-22
lines changed Expand file tree Collapse file tree 5 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 1
1
* .swp
2
2
* .pyc
3
- CMakeCache.txt
4
- CMakeFiles
5
- Makefile
6
- Testing
7
3
* .gch
8
4
libs /mime /test /mime-roundtrip
9
- * .a
10
5
bin /
11
6
tests /
12
7
_build
13
- CPP-NETLIB. *
14
- CMakeScripts /
15
- * .cmake
16
8
* ~
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ set(CPP-NETLIB_HTTP_MESSAGE_SRCS
25
25
26
26
if (NOT CPP-NETLIB_BUILD_SINGLE_LIB )
27
27
add_library (cppnetlib-http-message ${CPP-NETLIB_HTTP_MESSAGE_SRCS} )
28
- add_dependencies (cppnetlib-http-message
29
- cppnetlib-message )
30
28
target_link_libraries (cppnetlib-http-message
31
29
${Boost_LIBRARIES}
32
30
cppnetlib-message )
@@ -62,9 +60,6 @@ set(CPP-NETLIB_HTTP_V2_CLIENT_SRCS
62
60
${CMAKE_CURRENT_SOURCE_DIR} /http/v2/client/client_errors.cpp
63
61
)
64
62
add_library (network-http-v2-client ${CPP-NETLIB_HTTP_V2_CLIENT_SRCS} )
65
- add_dependencies (network-http-v2-client
66
- network-uri
67
- )
68
63
target_link_libraries (network-http-v2-client
69
64
${Boost_LIBRARIES}
70
65
network-uri
Original file line number Diff line number Diff line change @@ -17,18 +17,15 @@ if (CPP-NETLIB_BUILD_TESTS)
17
17
)
18
18
if (CPP-NETLIB_BUILD_SINGLE_LIB )
19
19
set (link_cppnetlib_lib cppnetlib )
20
- set (dependency cppnetlib )
21
20
else ()
22
21
set (link_cppnetlib_lib cppnetlib-logging )
23
- set (dependency cppnetlib-logging )
24
22
endif ()
25
23
foreach (test ${TESTS} )
26
24
if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU )
27
25
set_source_files_properties (${test} .cpp
28
26
PROPERTIES COMPILE_FLAGS "-Wall" )
29
27
endif ()
30
28
add_executable (cpp-netlib-${test} ${test} .cpp )
31
- add_dependencies (cpp-netlib-${test} ${dependency} )
32
29
target_link_libraries (cpp-netlib-${test}
33
30
${Boost_LIBRARIES} ${GTEST_BOTH_LIBRARIES} ${link_cppnetlib_lib} )
34
31
set_target_properties (cpp-netlib-${test}
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ set(CPP-NETLIB_MESSAGE_SRCS
11
11
message .cpp )
12
12
13
13
add_library (cppnetlib-message ${CPP-NETLIB_MESSAGE_SRCS} )
14
- add_dependencies (cppnetlib-message network-uri )
15
14
target_link_libraries (cppnetlib-message network-uri )
16
15
17
16
set (CPP-NETLIB_MESSAGE_DIRECTIVES_SRCS
Original file line number Diff line number Diff line change @@ -11,18 +11,13 @@ if (CPP-NETLIB_BUILD_TESTS)
11
11
set (TESTS message_test message_transform_test )
12
12
if (CPP-NETLIB_BUILD_SINGLE_LIB )
13
13
set (link_cppnetlib_lib cppnetlib )
14
- set (dependencies cppnetlib )
15
14
else ()
16
15
set (link_cppnetlib_lib cppnetlib-message
17
16
cppnetlib-message-directives
18
17
cppnetlib-message-wrappers )
19
- set (dependencies cppnetlib-message
20
- cppnetlib-message-directives
21
- cppnetlib-message-wrappers )
22
18
endif ()
23
19
foreach (test ${TESTS} )
24
20
add_executable (cpp-netlib-${test} ${test} .cpp )
25
- add_dependencies (cpp-netlib-${test} ${dependencies} )
26
21
target_link_libraries (cpp-netlib-${test}
27
22
${Boost_SYSTEM_LIBRARY}
28
23
${CMAKE_THREAD_LIBS_INIT}
You can’t perform that action at this time.
0 commit comments