Skip to content

Commit b3647e6

Browse files
committed
Updated build process in readme
1 parent f1fbe70 commit b3647e6

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,25 @@ I have implemented the visualisation of the insertion sort and merge sort algori
1616

1717
I implemented a graph builder where the user can place nodes and edges and thereafter run a DFS or BFS on that graph.
1818

19-
# Installation
19+
# Installation/Build
2020

21+
This project is tested only on Windows. It may not work on Linux/macOS without modifications.
2122

23+
## Requirements
24+
- WinLibs UCRT 14.2.0 (64-bit) (g++ compiler)
25+
- SFML 3.0.0 is included in the repository,
26+
- Windows 10 or later
27+
28+
## vscode
29+
- Install WinLibs UCRT 14.2.0 (64-bit)
30+
- Add it to PATH
31+
- Press F5
32+
33+
## build.bat
34+
- Install WinLibs UCRT 14.2.0 (64-bit)
35+
- Add it to PATH
36+
- Run build.bat
37+
- Run algoVisualiser.exe
2238

2339
# Code structure
2440

build.bat

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
g++ ^
3+
-fdiagnostics-color=always -g ^
4+
main.cpp ^
5+
sortingAlgorithms/insertionSort.cpp ^
6+
sortingAlgorithms/mergeSort.cpp ^
7+
sortingAlgorithms/sortingVisualiser.cpp ^
8+
GraphBuilding/runGraphBuilder.cpp ^
9+
GraphBuilding/traversal.cpp ^
10+
draw.cpp initialize.cpp button.cpp GraphBuilding/node.cpp ^
11+
-Iheaders ^
12+
-I"SFML-3.0.0/include" ^
13+
-Wall ^
14+
-o algoVisualiser.exe ^
15+
-L"SFML-3.0.0/lib" ^
16+
-lsfml-graphics -lsfml-window -lsfml-system
17+
18+
echo Done! main.exe is ready.
19+
pause

0 commit comments

Comments
 (0)