Skip to content

Commit

Permalink
exp - does PRIVATE speed up comp ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Aug 14, 2023
1 parent 8bc7599 commit bf8db9d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@ set(CMAKE_CXX_STANDARD 17)
include(WBLib.cmake)

add_executable(wfb_keygen executables/wfb_keygen.cpp)
target_link_libraries(wfb_keygen ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(wfb_keygen PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(benchmark executables/benchmark.cpp)
target_link_libraries(benchmark ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(benchmark PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(udp_generator_validator executables/udp_generator_validator.cpp)
target_link_libraries(udp_generator_validator ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(udp_generator_validator PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(unit_test executables/unit_test.cpp)
target_link_libraries(unit_test ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(unit_test PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(socket_helper_test executables/socket_helper_test.cpp)
target_link_libraries(socket_helper_test ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(socket_helper_test PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(udp_packet_drop_util executables/udp_packet_drop_util.cpp)
target_link_libraries(udp_packet_drop_util ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(udp_packet_drop_util PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(test_txrx executables/test_txrx.cpp)
target_link_libraries(test_txrx ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(test_txrx PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(example_hello executables/example_hello.cpp)
target_link_libraries(example_hello ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(example_hello PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(example_udp executables/example_udp.cpp)
target_link_libraries(example_udp ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(example_udp PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(injection_rate_test executables/injection_rate_test.cpp)
target_link_libraries(injection_rate_test ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(injection_rate_test PRIVATE ${WB_TARGET_LINK_LIBRARIES})

add_executable(example_pollute executables/example_pollute.cpp)
target_link_libraries(example_pollute ${WB_TARGET_LINK_LIBRARIES})
target_link_libraries(example_pollute PRIVATE ${WB_TARGET_LINK_LIBRARIES})

# When it is a static library, we don't need to install it.
# But if it is a shared library, we need to install it.
Expand Down

0 comments on commit bf8db9d

Please sign in to comment.