抛弃GdCpp*.dll/pdb历史重新建库。libhv和Sqlite的dll保留

This commit is contained in:
Zhang Jianjun
2026-02-02 16:09:02 +08:00
parent f148ca49e3
commit 4a2a284ac0
292 changed files with 350450 additions and 0 deletions

26
include/GdCpp_Exports.h Normal file
View File

@@ -0,0 +1,26 @@
#ifndef _GD_CPP_EXPORTS_H_
#define _GD_CPP_EXPORTS_H_
#ifdef GDCPP_DLL // 编译或使用DLL的项目定义GDCPP_DLL
#ifdef GDCPP_EXPORTS // 编译DLL的项目定义GDCPP_EXPORTS
#define GDCPP_API __declspec(dllexport)
#else // 使用DLL的项目
#define GDCPP_API __declspec(dllimport)
#ifdef _DEBUG
#pragma comment(lib, "GdCppD.lib")
#else
#pragma comment(lib, "GdCpp.lib")
#endif
#endif
#elif GDCPP_STATIC // 编译成静态库,
#define GDCPP_API
#ifdef _DEBUG
#pragma comment(lib, "GdCppStaticD.lib")
#else
#pragma comment(lib, "GdCppStatic.lib")
#endif
#else // 直接使用源码使用
#define GDCPP_API
#endif
#endif