mrinaldhillon / umb-oop-cpp

object oriented programming exercises

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CS680 Object Oriented Design and Programming

Build Instruction:

Depenedencies:

  • If a dependency is not already installed autogen.sh attempts to build each of the following packages.
  • It is faster to install dependencies by package manager on your system
  • Even if all of the following packages are installed, autogen.sh still needs to generate ./.bashrc
  1. Bazel Build System: Required!

  2. Valgrind : Memory leak checker Optional

  3. LCOV: Code coverage generator Optional

Build Steps:

  1. Build dependencies:
  • autogen.sh:
    • bash script
    • compiles from source if target is not installed
    • Installs dependencies under tools/
    • Creates ./.bash.rc to export dependency paths
    • Usage: bash autogen.sh | bash autogen.sh clean
  1. Build homeworks
  • build.sh // bash script

    • Usage: bash build.sh [options] [target] -Options:
      • prompt: sequentially builds homework, prompts to continue after each build.
      • clean: sequentially cleans all homeworks
    • Examples:
      • bash build.sh // build all without prompt
      • bash build.sh hw#
      • bash build.sh prompt
      • bash build.sh clean
      • bash build.sh clean hw#
  • You may also run build.sh under hw# // requires current dir to be hw# // sources ../.bashrc

  1. Source Directories:
    • hw#/lib/
    • hw#/test/
    • hw#/main/
  2. Build Generated Directories
    • hw#/bazel-bin/test/
    • hw#/bazel-bin/main/
    • hw#/bazel-bin/lib/
    • hw#/bazel-testlogs/converage/
    • hw#/bazel-testlogs/test/*/

About

object oriented programming exercises

License:MIT License


Languages

Language:C++ 75.4%Language:Shell 17.9%Language:Python 5.3%Language:C 1.5%