Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.13 KB

gsysc

Build Status

Introduction

This project is a fork from GsysC that was published under the conditions of the GNU General Public License (GPL).

Prepare development environment

Dependencies

  • CMake (Version 3.10 or higher)
  • SystemC (Version 2.3.2)
  • Qt5 library

Environment

Please create a environment variable SYSTEMC_ROOT that points to the root directory of your SystemC installation, for instance

export SYSTEMC_ROOT=/opt/systemc-2.3.2

CMake

From root directory of gsysc type

cmake -b <build-directory-path> -DCMAKE_C_COMPILER=<compiler> -DCMAKE_CXX_COMPILER=<compiler> -DINCLUDE_TESTS=ON -G <generator>
  • build-directory-path: Path to the build directory
  • compiler: C and C++ compiler for instance clang or gcc
  • generator: Target generator for instance make or ninja
  • DINCLUDE_TESTS=ON: If this line is added to the confiuration call a small test project is added to the project for debugging purposes.