Removed CMake Files and Functions of the Vendor

This commit is contained in:
paul nehlich
2024-05-24 11:57:47 +02:00
parent de6953cc61
commit 3a69b96a24
4 changed files with 0 additions and 279 deletions

View File

@ -1,22 +0,0 @@
# Copyright (C) 2023 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
cmake_minimum_required(VERSION 3.15)
project(canps)
find_package(common)
collector_create (PROJECT_LIB_HEADERS "${CMAKE_CURRENT_SOURCE_DIR}")
collector_create (PROJECT_LIB_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}")
include_directories(${CMAKE_BINARY_DIR}/include)
collect (PROJECT_LIB_SOURCES xcanps.c)
collect (PROJECT_LIB_HEADERS xcanps.h)
collect (PROJECT_LIB_SOURCES xcanps_selftest.c)
collect (PROJECT_LIB_SOURCES xcanps_hw.c)
collect (PROJECT_LIB_HEADERS xcanps_hw.h)
collect (PROJECT_LIB_SOURCES xcanps_intr.c)
collect (PROJECT_LIB_SOURCES xcanps_g.c)
collect (PROJECT_LIB_SOURCES xcanps_sinit.c)
collector_list (_sources PROJECT_LIB_SOURCES)
collector_list (_headers PROJECT_LIB_HEADERS)
file(COPY ${_headers} DESTINATION ${CMAKE_BINARY_DIR}/include)
add_library(canps STATIC ${_sources})
set_target_properties(canps PROPERTIES LINKER_LANGUAGE C)