-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
add_definitions(-w) | ||
|
||
add_executable(simple-example simple/simple.cpp) | ||
target_link_libraries(simple-example PRIVATE photon_shared) | ||
target_link_libraries(simple-example PRIVATE photon_static) | ||
|
||
add_executable(net-perf perf/net-perf.cpp) | ||
target_link_libraries(net-perf PRIVATE photon_shared) | ||
target_link_libraries(net-perf PRIVATE photon_static) | ||
|
||
add_executable(rpc-example-client rpc/client.cpp rpc/client_main.cpp) | ||
target_link_libraries(rpc-example-client PRIVATE photon_shared) | ||
target_link_libraries(rpc-example-client PRIVATE photon_static) | ||
|
||
add_executable(rpc-example-server rpc/server.cpp rpc/server_main.cpp) | ||
target_link_libraries(rpc-example-server PRIVATE photon_shared) | ||
target_link_libraries(rpc-example-server PRIVATE photon_static) | ||
|
||
add_executable(sync-primitive sync-primitive/sync-primitive.cpp) | ||
target_link_libraries(sync-primitive PRIVATE photon_shared) | ||
target_link_libraries(sync-primitive PRIVATE photon_static) | ||
|
||
if (ENABLE_FSTACK_DPDK) | ||
add_executable(fstack-dpdk-demo fstack-dpdk/fstack-dpdk-demo.cpp) | ||
target_link_libraries(fstack-dpdk-demo PRIVATE fstack_dpdk photon_shared) | ||
target_link_libraries(fstack-dpdk-demo PRIVATE fstack_dpdk photon_static) | ||
endif () |