@@ -17,10 +17,6 @@ if (Boost_FOUND)
17
17
request_linearize_test
18
18
)
19
19
foreach ( test ${TESTS} )
20
- if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
21
- set_source_files_properties (${test} .cpp
22
- PROPERTIES COMPILE_FLAGS "-Wall" )
23
- endif ()
24
20
add_executable (cpp-netlib-http-${test} ${test} .cpp)
25
21
add_dependencies (cpp-netlib-http-${test}
26
22
cppnetlib-uri)
@@ -43,10 +39,6 @@ if (Boost_FOUND)
43
39
client_get_streaming_test
44
40
)
45
41
foreach ( test ${TESTS} )
46
- if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
47
- set_source_files_properties (${test} .cpp
48
- PROPERTIES COMPILE_FLAGS "-Wall" )
49
- endif ()
50
42
add_executable (cpp-netlib-http-${test} ${test} .cpp)
51
43
add_dependencies (cpp-netlib-http-${test}
52
44
cppnetlib-uri
@@ -72,10 +64,6 @@ if (Boost_FOUND)
72
64
server_async_run_stop_concurrency
73
65
)
74
66
foreach ( test ${SERVER_API_TESTS} )
75
- if (${CMAKE_CXX_COMPILER_ID} MATCHES GNU)
76
- set_source_files_properties (${test} .cpp
77
- PROPERTIES COMPILE_FLAGS "-Wall" )
78
- endif ()
79
67
add_executable (cpp-netlib-http-${test} ${test} .cpp)
80
68
add_dependencies (cpp-netlib-http-${test} cppnetlib-server-parsers)
81
69
target_link_libraries (cpp-netlib-http-${test} ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} cppnetlib-server-parsers)
0 commit comments