Precommit (#1)

* first commit

* cleanup
This commit is contained in:
tompzf
2025-11-04 13:28:06 +01:00
committed by GitHub
parent dba45dc636
commit 6ed4b1534e
898 changed files with 256340 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Define project
project(hardware_ident VERSION 1.0 LANGUAGES CXX)
# Define target
add_library(hardware_ident SHARED
"hardware_ident.h"
"hardware_ident.cpp")
if (WIN32)
target_link_libraries(hardware_ident ${CMAKE_THREAD_LIBS_INIT} Rpcrt4.lib)
elseif(UNIX)
#target_link_libraries(hardware_ident rt ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(hardware_ident rt ${CMAKE_DL_LIBS})
endif()
target_link_options(hardware_ident PRIVATE)
target_include_directories(hardware_ident PRIVATE ./include/)
set_target_properties(hardware_ident PROPERTIES PREFIX "")
set_target_properties(hardware_ident PROPERTIES SUFFIX ".sdv")
# Build dependencies
add_dependencies(hardware_ident CompileCoreIDL)
# Appending the service in the service list
set(SDV_Service_List ${SDV_Service_List} hardware_ident PARENT_SCOPE)