Move setup to exercise for module 11 and link to it from root README
This commit is contained in:
parent
a10fd5e48c
commit
dead679970
3 changed files with 44 additions and 32 deletions
33
README.md
33
README.md
|
@ -1,34 +1,3 @@
|
||||||
# Mod(C++) Fundamentals
|
# Mod(C++) Fundamentals
|
||||||
|
|
||||||
## Install tools
|
* [Build and run](exercises/11/build_and_run/README.md)
|
||||||
### All Platforms:
|
|
||||||
* Follow the instructions to install VSCode from https://code.visualstudio.com/
|
|
||||||
|
|
||||||
### Ubuntu 20.04 or newer
|
|
||||||
* Install the build tools
|
|
||||||
```bash
|
|
||||||
sudo apt-get install ninja-build pkg-config curl zip unzip tar cmake build-essential libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev
|
|
||||||
```
|
|
||||||
|
|
||||||
### Windows:
|
|
||||||
* Follow the instructions to install cmake (3.21) from https://cmake.org/download/
|
|
||||||
* Install Visual Studio https://visualstudio.microsoft.com/
|
|
||||||
You might have to reboot your computer once that's done.
|
|
||||||
|
|
||||||
### Mac
|
|
||||||
* Install clang by typing `xcode-select --install` in a terminal and following the instructions
|
|
||||||
* Install the build tools
|
|
||||||
```bash
|
|
||||||
brew install cmake ninja
|
|
||||||
```
|
|
||||||
* Follow the instructions for [Launching VSCode from the command line](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line)
|
|
||||||
|
|
||||||
## Configure and build project
|
|
||||||
|
|
||||||
### All Platforms:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/mod-cpp/pacman.git
|
|
||||||
cd pacman
|
|
||||||
code .
|
|
||||||
```
|
|
||||||
|
|
|
@ -1 +1,3 @@
|
||||||
[< Back](../README.md)
|
[< Back](../README.md)
|
||||||
|
|
||||||
|
* [Exercise: Set up development environment](build_and_run/README.md)
|
41
exercises/11/build_and_run/README.md
Normal file
41
exercises/11/build_and_run/README.md
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
[< Back](../README.md)
|
||||||
|
|
||||||
|
# Exercise: Set up development environment
|
||||||
|
|
||||||
|
## Install tools
|
||||||
|
|
||||||
|
### All Platforms
|
||||||
|
|
||||||
|
* Follow the instructions to install VSCode from https://code.visualstudio.com/
|
||||||
|
|
||||||
|
### Ubuntu 20.04 or newer
|
||||||
|
|
||||||
|
* Install the build tools
|
||||||
|
```bash
|
||||||
|
sudo apt-get install ninja-build pkg-config curl zip unzip tar cmake build-essential libx11-dev libxrandr-dev libxi-dev libudev-dev libgl1-mesa-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
### Windows:
|
||||||
|
|
||||||
|
* Follow the instructions to install cmake (3.21) from https://cmake.org/download/
|
||||||
|
* Install Visual Studio https://visualstudio.microsoft.com/
|
||||||
|
You might have to reboot your computer once that's done.
|
||||||
|
|
||||||
|
### Mac
|
||||||
|
|
||||||
|
* Install clang by typing `xcode-select --install` in a terminal and following the instructions
|
||||||
|
* Install the build tools
|
||||||
|
```bash
|
||||||
|
brew install cmake ninja
|
||||||
|
```
|
||||||
|
* Follow the instructions for [Launching VSCode from the command line](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line)
|
||||||
|
|
||||||
|
## Configure and build project
|
||||||
|
|
||||||
|
### All Platforms
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://github.com/mod-cpp/pacman.git
|
||||||
|
cd pacman
|
||||||
|
code .
|
||||||
|
```
|
Loading…
Reference in a new issue