Skip to content

Commit 0d6ede3

Browse files
authored
Merge pull request #17 from p1v0t/simpleReadme
Simplify build instructions
2 parents 32e894d + 318169e commit 0d6ede3

1 file changed

Lines changed: 3 additions & 20 deletions

File tree

README.md

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,10 @@ The goal, then, is to understand how the most common allocators work, what they
2424

2525
# Build instructions
2626

27-
This project has been developed using Netbeans and Linux but it should work on Windows, macOS and Linux. It can be easily built using CMake and different generators. The following code can be used to generate the VS 2017 project files:
28-
29-
```c
30-
// VS 2017
31-
cd <project-folder>
32-
mkdir build
33-
cd build/
34-
cmake .. "Visual Studio 15 2017 Win64"
35-
```
36-
37-
Then, from VS you can edit and execute the project. Make sure that __the main project is set up as the startup project__
38-
39-
If you are using Linux, you need to change the generator (or use the default) and execute an extra operation to actually make the executable:
40-
4127
```c
42-
// Linux
43-
cd <project-folder>
44-
mkdir build
45-
cd build/
46-
cmake ..
47-
make
28+
git clone https://github.com/mtrebi/memory-allocators.git
29+
cmake -S memory-allocator -B build
30+
cmake --build build
4831
```
4932

5033
# What's wrong with Malloc?

0 commit comments

Comments
 (0)