From 6a00ef075d63d4684a55c4cb6b24c45239fe8f28 Mon Sep 17 00:00:00 2001 From: Eyck Jentzsch Date: Sat, 21 Oct 2023 22:03:54 +0200 Subject: [PATCH] updates config files --- .cproject | 29 +++++++++++++++++++---------- CMakeLists.txt | 9 +++++---- 2 files changed, 24 insertions(+), 14 deletions(-) diff --git a/.cproject b/.cproject index 996ccbc..0d6f091 100644 --- a/.cproject +++ b/.cproject @@ -14,9 +14,9 @@ - + - + - + - - + - + @@ -128,7 +127,7 @@ - + @@ -164,11 +163,10 @@ - + - @@ -193,14 +191,25 @@ + + + + + + + + + + + + - \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 92d76c0..3ef2624 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.16) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/scc/cmake) -project(TGFS-ISS VERSION 1.0.0 LANGUAGES CXX) +project(TGC-ISS VERSION 1.0.0 LANGUAGES CXX) set(WITH_LLVM FALSE CACHE BOOL "Build LLVM based backend") -if(CMAKE_PROJECT_NAME STREQUAL "TGFS-ISS") +if(CMAKE_PROJECT_NAME STREQUAL "TGC-ISS") ########################################################################### # stand alone build settings ########################################################################### @@ -156,13 +156,14 @@ if(CMAKE_PROJECT_NAME STREQUAL "TGFS-ISS") riscvfw GIT_REPOSITORY https://git.minres.com/VP/Firmwares.git GIT_TAG main - UPDATE_DISCONNECTED FALSE + GIT_SHALLOW OFF + UPDATE_DISCONNECTED ON ) FetchContent_GetProperties(riscvfw) if(NOT riscvfw_POPULATED) FetchContent_Populate(riscvfw) endif() - add_subdirectory(${riscvfw_SOURCE_DIR}) + add_subdirectory(${riscvfw_SOURCE_DIR}) endif() endif()