wangzhengquan
2021-01-19 3baa1ff0ea9c24f4ecf0f818f2c5909d6d918f5e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# add the executable
add_executable(test1 test1.cpp )
target_link_libraries(test1 PRIVATE  ${EXTRA_LIBS} )
target_include_directories(test1 PRIVATE
                            "${PROJECT_BINARY_DIR}"
                             ${EXTRA_INCLUDES}
                            )
 
 
add_executable(futex_demo futex_demo.cpp )
target_link_libraries(futex_demo PRIVATE  ${EXTRA_LIBS} )
target_include_directories(futex_demo PRIVATE
                            "${PROJECT_BINARY_DIR}"
                             ${EXTRA_INCLUDES}
                            )
 
 
add_executable(futex_test futex_test.cpp )
target_link_libraries(futex_test PRIVATE  ${EXTRA_LIBS} )
target_include_directories(futex_test PRIVATE
                            "${PROJECT_BINARY_DIR}"
                             ${EXTRA_INCLUDES}
                            )
 
 
# add the install targets
install(TARGETS test1 DESTINATION bin)