1. 增加 Readme.md
2. 修复 CMakeLists.txt 实现多系统多架构构建 3. 添加 Dockerfile 使用 docker 在多系统多架构下进行编译 4. 修复 library.h 和 .cpp 调整 windows 和 linux 库的差异导致的无法编译通过
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user