blob: 32d211890c0342ad6b1d8c767eb2e5db061f3415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Define project Targets
set(TEST_CLIENT_NAME ipc_unit_test_client)
set(TEST_SERVER_NAME ipc_unit_test_server)
add_executable(${TEST_CLIENT_NAME} ipc_unit_test_client.c ipc_unit_test_common.c)
target_link_libraries(${TEST_CLIENT_NAME} ${TARGET_NAME})
target_include_directories(${TEST_CLIENT_NAME} PRIVATE
./
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
)
add_executable(${TEST_SERVER_NAME} ipc_unit_test_server.c ipc_unit_test_common.c)
target_link_libraries(${TEST_SERVER_NAME} ${TARGET_NAME})
target_include_directories(${TEST_SERVER_NAME} PRIVATE
./
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include>
)
|