Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 881 Bytes

File metadata and controls

61 lines (50 loc) · 881 Bytes

HeisProsjekt

Heisprosjekt i C

Build Status

How to build:

Using docker:

Install docker and run:

docker build .

to build and test code

Using CMake and make

Install CMake:

sudo apt-get install cmake

Create build directory and change directory

mkdir build
cd build

Run CMake with parent directory

cmake ..

Run make on generated makefile

make

Run executable

./heisprosjekt

Using build script

In project folder, run either build.sh or build_test.sh

./build.sh

If the scripts won't start, make it an executable

chmod +x build.sh

Run the built binary

./heisprosjekt

How to build parent image

docker build . -f docker/system/Dockerfile -t YOUR_TAG_HERE
docker push YOUR_TAG_HERE