make core name a cmake option

This commit is contained in:
Eyck Jentzsch 2021-05-13 09:33:01 +02:00
parent 6b31d0338c
commit 22f52bb6df
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${C
project(TGFS-ISS VERSION 1.0.0 LANGUAGES CXX)
set(CORE_NAME TGC_C CACHE STRING "The core to run verification on" )
set(WITH_LLVM FALSE CACHE BOOL "Build LLVM based backend")
include(GNUInstallDirs)
@ -56,7 +57,7 @@ if (ENABLE_CLANG_TIDY)
endif()
include(CodeGen)
gen_coredsl(TGF_C ${CMAKE_CURRENT_SOURCE_DIR}/tgfs/gen_input/TGFS.core_desc interp)
gen_coredsl(${CORE_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/tgfs_iss/tgfs/gen_input/TGFS.core_desc interp)
add_subdirectory(dbt-core)
add_subdirectory(scc)

2
tgfs

@ -1 +1 @@
Subproject commit 391f9bb80820af40320e4a98b57953f8c47a6a0d
Subproject commit a1fa8877f7d68bae52ec506da36154eedd9ae5d9