reshapes build system to allow standalone C++ build as well as for PA

This commit is contained in:
2023-05-12 09:44:08 +02:00
parent bd6a864bc5
commit 6b9d52ff80
4 changed files with 118 additions and 135 deletions

View File

@@ -45,7 +45,7 @@ This ISS is based in DBT-RISE, a library to allow rapid ISS creation.
```
### Accellera SystemC build
### Standalone (C++) build
* start an out-of-source build:
@@ -71,7 +71,7 @@ Assuming environment for Platform Architect is properly set up.
export CC=$COWAREHOME/SLS/linux/common/bin/gcc
export CXX=$COWAREHOME/SLS/linux/common/bin/g++
cmake -S . -B build/PA -DCMAKE_BUILD_TYPE=Debug -DUSE_CWR_SYSTEMC=ON \
-DBUILD_SHARED_LIBS=ON -DCODEGEN=OFF -DCMAKE_INSTALL_PREFIX=${TGFS_INSTALL_ROOT}
-DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=${TGFS_INSTALL_ROOT}
cmake --build build/PA --target install -j16
```