/ModelAnimation

ICT397 Assignment

Primary LanguageC++ISC LicenseISC

ict397-logo

ICT397 Assignment

Table of Contents

Building

macOS

Install build tools:

brew install cmake ninja llvm --with-toolchain

Clone repository:

git clone https://github.com/opeik/ICT397.git
git submodule update --init --recursive --depth 1

Generate build files:

# Debug
CXX=/usr/local/opt/llvm/bin/clang++ cmake -S . -B build/debug -G Ninja -D CMAKE_BUILD_TYPE=Debug
# Release
CXX=/usr/local/opt/llvm/bin/clang++ cmake -S . -B build/release -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo

Compile:

cd build/debug && ninja && ./ict397
# Or
cd build/release && ninja && ./ict397

Linux

Install build tools:

apt install build-essential clang ninja-build

Install dependencies:

sudo apt install clang-9 libstdc++-9-dev ninja-build libgl1-mesa-dev libx11-dev \
   libxrandr-dev libudev-dev libfreetype6-dev libopenal-dev libflac++-dev \
   libvorbis-dev libxinerama-dev libxcursor-dev libxi-dev

Clone repository:

git clone https://github.com/opeik/ICT397.git
git submodule update --init --recursive --depth 1

Generate build files:

# Debug
CXX=clang++ cmake -S . -B build/debug -G Ninja -D CMAKE_BUILD_TYPE=Debug
# Release
CXX=clang++ cmake -S . -B build/release -G Ninja -D CMAKE_BUILD_TYPE=RelWithDebInfo

Compile:

cd build/debug && ninja && ./ict397
# Or
cd build/release && ninja && ./ict397

Windows

Enable developer mode:

  • Open Settings
  • Navitgate to Update & Security → For developers
  • Enable Developer Mode

Install build tools:

  • Visual Studio Community (2019 or newer)
    • Install the "C++ CMake tools for Windows" component
    • (Optional) Install the "Clang compiler for Windows" component

Clone repository:

git clone https://github.com/opeik/ICT397.git
git submodule update --init --recursive --depth 1

Compile:

  • Open Visual Studio
  • Select Open → CMake
  • Select CMakeLists.txt
  • Set the startup item to ict397.exe

Contributing

Please see the CONTRIBUTING.md file for instructions.

Meta

License

This project is licensed under the ISC license. Please see the LICENSE.md file for details. Individual authors can be found inside the AUTHORS.md file.

Built With

TODO