Code Monkey home page Code Monkey logo

example-cpp-makefile's Introduction

[:] Example C++ project using Makefile.

An example C++ project using Makefile to demonstrate SourceClear scans.

Install and activate SourceClear

Follow the instructions under the section "Setup and Configuration" in https://www.sourceclear.com/docs/command-line-interface/ to install and activate our SourceClear agent.

Scan this project

Linux Users

The latest version of SourceClear agent only supports C++ projects build on Linux platforms. If you are using a Linux OS, you can scan this project by running

srcclr scan --url https://github.com/srcclr/example-cpp-makefile

Non-Linux users

For non-linux users, there is a Dockerfile in this repo that builds a Linux container image with this project in it. The steps to setup and test are as follow:

1. Clone this repo

git clone https://github.com/srcclr/example-cpp-makefile

2. Change current directory to the project directory

cd example-cpp-makefile

3. Build the Docker image

docker build . -t example-cpp-makefile

This builds an image with the name example-cpp-makefile.

4. Create and run container with the image

docker run -e SRCCLR_API_TOKEN=<token> --rm -t --name example-cpp-makefile example-cpp-makefile

This creates a container with the name example-cpp-makefile, runs it and removes it after it has completed.

As shown in the example, setting SRCCLR_API_TOKEN to Veracode SCA API token is needed to scan the project.

example-cpp-makefile's People

Contributors

codelion avatar tfahey avatar veena316 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.