File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11add_executable (dijkstra main.cpp )
22add_executable (scaling_dijkstra scaling_dijkstra.cpp )
3-
4- if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND MSVC )
5- set (OpenMP_RUNTIME_MSVC llvm)
6- endif ()
7-
8- find_package (OpenMP REQUIRED )
3+ target_link_libraries (scaling_dijkstra PRIVATE mimalloc )
94
105add_executable (test_dijkstra test_dijkstra.cpp )
116
Original file line number Diff line number Diff line change 1- #include " dijkstra.hpp"
21#include " mimalloc-new-delete.h"
2+ #include " dijkstra.hpp"
33
44#include < chrono>
55#include < iostream>
Original file line number Diff line number Diff line change 44#include < random>
55#include < vector>
66
7- #include " FF_DFS .hpp"
7+ #include " ford_fulkerson .hpp"
88
99using namespace std ;
1010
Original file line number Diff line number Diff line change @@ -20,5 +20,11 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
2020
2121FetchContent_MakeAvailable (mimalloc)
2222
23+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND MSVC )
24+ set (OpenMP_RUNTIME_MSVC llvm)
25+ endif ()
26+
27+ find_package (OpenMP REQUIRED )
28+
2329add_subdirectory (1 )
2430add_subdirectory (2 )
You can’t perform that action at this time.
0 commit comments