excludes quantum_keeper if SystemC is not 3.0 or higher
Some checks failed
SCC Test/pipeline/head There was a failure building this commit
Some checks failed
SCC Test/pipeline/head There was a failure building this commit
This commit is contained in:
2
scc
2
scc
Submodule scc updated: bf3b4e5179...e8cda40eaa
@@ -1,5 +1,8 @@
|
|||||||
add_executable (quantum_keeper_mt
|
message(STATUS "SC_VERSION is ${SC_VERSION_MAJOR}.${SC_VERSION_MINOR}.${SC_VERSION_PATCH}")
|
||||||
|
if(SC_VERSION_MAJOR GREATER 2)
|
||||||
|
add_executable (quantum_keeper_mt
|
||||||
sc_main.cpp
|
sc_main.cpp
|
||||||
)
|
)
|
||||||
target_link_libraries (quantum_keeper_mt LINK_PUBLIC scc-sysc)
|
target_link_libraries (quantum_keeper_mt LINK_PUBLIC scc-sysc)
|
||||||
add_test(NAME quantum_keeper_mt COMMAND quantum_keeper_mt)
|
add_test(NAME quantum_keeper_mt COMMAND quantum_keeper_mt)
|
||||||
|
endif()
|
||||||
Reference in New Issue
Block a user