Commit 104e7a8b authored by Jonas Johan Solsvik's avatar Jonas Johan Solsvik 🎮
Browse files

add make command

parent 15bf1297
project(sfml-sample)
project(double-trouble)
cmake_minimum_required (VERSION 3.16.3 FATAL_ERROR)
set(SRCDIR "${CMAKE_SOURCE_DIR}/src")
......
run: build
./build/double-trouble
build: $(shell find src -type f)
mkdir -p build/;
cmake -S . -B build/
make -C build/;
# Double Trouble
A IMT3601 Games Programming project by Jonas and Viktor
\ No newline at end of file
A IMT3601 Games Programming project by Jonas and Viktor
## Getting started
To run the game run:
```
make
```
mkdir build
cd build
cmake ..
make
cd -
./build/double-trouble
#include <cstdio>
int main() {
std::puts("Hello world\n");
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment