File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ set(BUILD_MINOR "4")
7
7
set (BUILD_VERSION "3" )
8
8
set (BUILD_VERSION ${BUILD_MAJOR} .${BUILD_MINOR} .${BUILD_VERSION} )
9
9
10
- SET (CLSOCKET_HEADERS
10
+ set (CLSOCKET_HEADERS
11
11
src/ActiveSocket.h
12
12
src/Host.h
13
13
src/PassiveSocket.h
14
14
src/SimpleSocket.h
15
15
src/StatTimer.h
16
16
)
17
17
18
- SET (CLSOCKET_SOURCES
18
+ set (CLSOCKET_SOURCES
19
19
src/SimpleSocket.cpp
20
20
src/ActiveSocket.cpp
21
21
src/PassiveSocket.cpp
@@ -50,17 +50,17 @@ set_target_properties(clsocket PROPERTIES VERSION ${BUILD_VERSION}
50
50
SOVERSION ${BUILD_MAJOR} )
51
51
52
52
if (UNIX )
53
- OPTION (CLSOCKET_EXAMPLES "Build the examples" OFF )
53
+ option (CLSOCKET_EXAMPLES "Build the examples" OFF )
54
54
55
55
if (CLSOCKET_EXAMPLES)
56
- ADD_EXECUTABLE (clsocket-example examples/RecvAsync.cpp)
56
+ add_executable (clsocket-example examples/RecvAsync.cpp)
57
57
target_link_libraries (clsocket-example clsocket pthread)
58
58
install (TARGETS clsocket-example DESTINATION bin)
59
59
60
- ADD_EXECUTABLE (querydaytime-example examples/QueryDayTime.cpp)
60
+ add_executable (querydaytime-example examples/QueryDayTime.cpp)
61
61
target_link_libraries (querydaytime-example clsocket)
62
62
63
- ADD_EXECUTABLE (echoserver-example examples/EchoServer.cpp)
63
+ add_executable (echoserver-example examples/EchoServer.cpp)
64
64
target_link_libraries (echoserver-example clsocket)
65
65
endif ()
66
66
endif ()
You can’t perform that action at this time.
0 commit comments