-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if a custom version of SystemC is used and update CMake tests
- Loading branch information
tmarcero
committed
Apr 9, 2024
1 parent
bd7fa97
commit 8ea6963
Showing
4 changed files
with
32 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,13 @@ include(${cpm-cmake_SOURCE_DIR}/cmake/CPM.cmake) | |
|
||
cpmaddpackage("${GITHUB}TheLartians/[email protected]") | ||
|
||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG master | ||
) | ||
if(SystemCLanguage_ADDED) | ||
set(SystemCLanguage_FOUND TRUE) | ||
if (NOT SystemCLanguageLocal_FOUND) | ||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG main | ||
) | ||
endif() | ||
|
||
cpmaddpackage( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,14 @@ include(${cpm-cmake_SOURCE_DIR}/cmake/CPM.cmake) | |
|
||
cpmaddpackage("${GITHUB}TheLartians/[email protected]") | ||
|
||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG master | ||
) | ||
if (NOT SystemCLanguageLocal_FOUND) | ||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG main | ||
) | ||
endif() | ||
|
||
cpmaddpackage( | ||
NAME | ||
|
@@ -42,6 +44,7 @@ cpmaddpackage( | |
"RAPIDJSON_BUILD_EXAMPLES OFF") | ||
|
||
set(RapidJSON_DIR "${RapidJSON_BINARY_DIR}") | ||
set(RAPIDJSON_INCLUDE_DIRS "${RapidJSON_SOURCE_DIR}/include") | ||
|
||
cpmaddpackage( | ||
NAME SystemCCCI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,14 @@ include(${cpm-cmake_SOURCE_DIR}/cmake/CPM.cmake) | |
|
||
cpmaddpackage("${GITHUB}TheLartians/[email protected]") | ||
|
||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG master | ||
) | ||
if (NOT SystemCLanguageLocal_FOUND) | ||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG main | ||
) | ||
endif() | ||
|
||
add_library(${PROJECT_NAME} INTERFACE) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,14 @@ include(${cpm-cmake_SOURCE_DIR}/cmake/CPM.cmake) | |
|
||
cpmaddpackage("${GITHUB}TheLartians/[email protected]") | ||
|
||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG master | ||
) | ||
if (NOT SystemCLanguageLocal_FOUND) | ||
cpmaddpackage( | ||
NAME SystemCLanguage | ||
GIT_REPOSITORY ${GITHUB}accellera-official/systemc.git | ||
GIT_SHALLOW True | ||
GIT_TAG main | ||
) | ||
endif() | ||
|
||
add_library(${PROJECT_NAME} INTERFACE) | ||
|
||
|