You've already forked gnatcoverage
mirror of
https://github.com/AdaCore/gnatcoverage.git
synced 2026-02-12 12:44:55 -08:00
Fix GNATCoverage build
Use Visual Studio 17 2022 as it is the CMake generator allowed and remove useless link to vcruntime Ref: it/org/software-supply-chain/production-pipeline/issues#129
This commit is contained in:
@@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.15)
|
||||
project(qtrace C)
|
||||
|
||||
add_library(qtrace SHARED qtrace.c)
|
||||
target_link_libraries(qtrace vcruntime libucrt)
|
||||
target_link_libraries(qtrace)
|
||||
|
||||
find_package(DynamoRIO)
|
||||
if (NOT DynamoRIO_FOUND)
|
||||
|
||||
@@ -7,11 +7,7 @@ DYNRIO_CLIENT=INVALID
|
||||
|
||||
ifeq ($(HOST_OS), windows)
|
||||
DYNRIO_CLIENT=build/$(DYNRIO_CONFIG)/qtrace.dll
|
||||
ifeq ($(BITS_ARCH), 32)
|
||||
G_OPTION=-G"Visual Studio 17"
|
||||
else
|
||||
G_OPTION=-G"Visual Studio 17 Win64"
|
||||
endif
|
||||
G_OPTION=-G"Visual Studio 17 2022"
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_OS), linux)
|
||||
|
||||
Reference in New Issue
Block a user