1. 增加 Readme.md

2. 修复 CMakeLists.txt 实现多系统多架构构建
3. 添加 Dockerfile 使用 docker 在多系统多架构下进行编译
4. 修复 library.h 和 .cpp 调整 windows 和 linux 库的差异导致的无法编译通过
This commit is contained in:
2024-10-10 14:11:40 +08:00
parent 8d55048f7b
commit 1c13ef429c
7 changed files with 125 additions and 14 deletions

View File

@@ -1,13 +1,18 @@
#ifndef HIKVISION_NETWORK_SDK_PACKAGING_LIBRARY_LIBRARY_H
#define HIKVISION_NETWORK_SDK_PACKAGING_LIBRARY_LIBRARY_H
#ifdef Export
#define Omnimatrix __declspec(dllexport)
#ifdef _WIN32
#ifdef Export
#define Omnimatrix __declspec(dllexport)
#else
#define Omnimatrix __declspec(dllimport)
#endif
#else
#define Omnimatrix __declspec(dllimport)
#define Omnimatrix
#endif
#ifdef __cplusplus
extern "C" {
#endif