Skip to content
Snippets Groups Projects
Commit 104e7a8b authored by Jonas Johan Solsvik's avatar Jonas Johan Solsvik :video_game:
Browse files

add make command

parent 15bf1297
No related branches found
No related tags found
1 merge request!1Fix #6, #7 and #8 - Open window, draw and move circle + collsion example
build/
project(sfml-sample) project(double-trouble)
cmake_minimum_required (VERSION 3.16.3 FATAL_ERROR) cmake_minimum_required (VERSION 3.16.3 FATAL_ERROR)
set(SRCDIR "${CMAKE_SOURCE_DIR}/src") 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 # Double Trouble
A IMT3601 Games Programming project by Jonas and Viktor A IMT3601 Games Programming project by Jonas and Viktor
## Getting started
To run the game run:
```
make
```
run.sh 0 → 100755
mkdir build
cd build
cmake ..
make
cd -
./build/double-trouble
#include <cstdio>
int main() {
std::puts("Hello world\n");
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment