Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 1.14 KB

Building.md

File metadata and controls

42 lines (32 loc) · 1.14 KB

Building

Requirements:

  • CMake 3.5+

  • Python 3.7+ (needed for website parser) with modules:

    • bs4

    Python dependencies installation:

    $ python -r requirements.txt
  • [Optional] rlwrap - readline wrapper (Linux)

Build and run:

Launch commands from within project root directory!

# Via python script:
$ python launch.py --f build run                                # Default build

$ python launch.py --f build run --r config/linux_sample.yaml   # With config file specification

$ python launch.py --f build run --b CMAKE_BUILD_TYPE=Debug     # Debug build

$ python launch.py --f build run --b EXP_FS=1                   # Use std::experimental::filesystem
# Use -DEXP_FS=1 only when comproenv does not compile on your machine
# because of using more modern std::filesystem

# Docker:
$ docker build -t comproenv .
$ docker run -v comproenv:/app -it comproenv

# Alternative (without scripts):
$ git submodule update --init --recursive
$ mkdir build
$ cd build
$ cmake ..
$ cmake --build .
$ ./bin/comproenv