Run caide from a docker file

Marcelo Fornet 48c3570a06 Use c++17 by default пре 4 година
example 042b6018e7 caide-docker 0.1.0 пре 4 година
.gitignore ee0e79b4bf add(gitignore): Ignore vscode folder пре 4 година
Dockerfile 48c3570a06 Use c++17 by default пре 4 година
Readme.md 131d842981 doc(Readme): Update readme based on @dgc9715 exprience пре 4 година
caide 042b6018e7 caide-docker 0.1.0 пре 4 година
caide.ini 48c3570a06 Use c++17 by default пре 4 година
caide.py 042b6018e7 caide-docker 0.1.0 пре 4 година
run.sh 042b6018e7 caide-docker 0.1.0 пре 4 година

Readme.md

Caide on docker

This tool is a wrapper of caide specifically to build solutions that uses multiple includes.

Install

  1. Install docker

  2. Build the docker image from the Dockerfile:

    cd /path/to/caide-docker
    docker build . -t caide-docker
    
  3. All interaction is done via the python script caide.py. To invoke this script use: python3 /path/to/caide.py or create an alias:

    sudo ln -s $(pwd)/caide.py /usr/local/bin/caide-docker
    

You are ready to go. Use caide-docker --help to see the options.

Usage

In the example folder try:

caide-docker solution.cpp -l library -o main.cpp