Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions examples/DialExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9)
project(DialExample)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -8,10 +7,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES /usr/local/lib ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})

add_executable(dial_example dial_example.cpp)
target_include_directories(dial_example PUBLIC "${CMAKE_SOURCE_DIR}/include")

target_link_libraries(dial_example
pthread
ssl
crypto
z)
${PROJECT_NAME})
7 changes: 1 addition & 6 deletions examples/DijkstraExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9)
project(DijkstraExample)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -8,10 +7,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES /usr/local/lib ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})

add_executable(dijkstra_example dijkstra_example.cpp)
target_include_directories(dijkstra_example PUBLIC "${CMAKE_SOURCE_DIR}/include")

target_link_libraries(dijkstra_example
pthread
ssl
crypto
z)
${PROJECT_NAME})
7 changes: 1 addition & 6 deletions examples/FloydWarshallExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9)
project(floydWarshallExample)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -8,10 +7,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES /usr/local/lib ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})

add_executable(floyd_warshall floyd_warshall.cpp)
target_include_directories(floyd_warshall PUBLIC "${CMAKE_SOURCE_DIR}/include")

target_link_libraries(floyd_warshall
pthread
ssl
crypto
z)
${PROJECT_NAME})
7 changes: 1 addition & 6 deletions examples/NetworkDynamicsExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9)
project(NetworkDynamicsExample)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -8,10 +7,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES /usr/local/lib ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})

add_executable(network_dynamics_example network_dynamics_example.cpp)
target_include_directories(network_dynamics_example PUBLIC "${CMAKE_SOURCE_DIR}/include")

target_link_libraries(network_dynamics_example
pthread
ssl
crypto
z)
${PROJECT_NAME})
7 changes: 1 addition & 6 deletions examples/PartitionExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9)
project(PartitionExample)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -8,10 +7,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES /usr/local/lib ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})

add_executable(partition_example partition_example.cpp)
target_include_directories(partition_example PUBLIC "${CMAKE_SOURCE_DIR}/include")

target_link_libraries(partition_example
pthread
ssl
crypto
z)
${PROJECT_NAME})
7 changes: 1 addition & 6 deletions examples/PrimExample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
cmake_minimum_required(VERSION 3.9)
project(PrimExample)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand All @@ -8,10 +7,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES /usr/local/lib ${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES})

add_executable(prim_example prim_example.cpp)
target_include_directories(prim_example PUBLIC "${CMAKE_SOURCE_DIR}/include")

target_link_libraries(prim_example
pthread
ssl
crypto
z)
${PROJECT_NAME})
Loading