Commit 0c7d15f 1 parent 907975d commit 0c7d15f Copy full SHA for 0c7d15f
File tree 1 file changed +10
-32
lines changed
1 file changed +10
-32
lines changed Original file line number Diff line number Diff line change @@ -8,39 +8,17 @@ set(LIB_ANCILLARY_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "ancillary libr
8
8
9
9
include_directories (.)
10
10
11
- add_library (
12
- ancillary
13
- STATIC
14
- ancillary.h
15
- fd_recv.c
16
- fd_send.c
17
- )
11
+ add_library ( ancillary STATIC ancillary.h fd_recv.c fd_send.c )
18
12
19
13
option (libancillary_build_test OFF )
20
14
21
15
if (libancillary_build_test)
22
- add_executable (
23
- test_exe
24
- test .c
25
- )
26
- target_link_libraries (
27
- test_exe
28
- ancillary
29
- )
30
- add_executable (
31
- evclient
32
- evclient.c
33
- )
34
- target_link_libraries (
35
- evclient
36
- ancillary
37
- )
38
- add_executable (
39
- evserver
40
- evserver.c
41
- )
42
- target_link_libraries (
43
- evserver
44
- ancillary
45
- )
46
- endif (libancillary_build_test)
16
+ add_executable ( test_exe test .c )
17
+ target_link_libraries ( test_exe ancillary )
18
+
19
+ add_executable ( evclient evclient.c )
20
+ target_link_libraries ( evclient ancillary )
21
+
22
+ add_executable ( evserver evserver.c )
23
+ target_link_libraries ( evserver ancillary )
24
+ endif (libancillary_build_test)
You can’t perform that action at this time.
0 commit comments