add dll version and its usage

This commit is contained in:
UnknownObject
2025-05-19 16:50:42 +08:00
parent b7d97547be
commit d070976d35
30 changed files with 9035 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
#pragma once
#ifdef LIBEASYOCRCPP_EXPORTS
#define LIBEASYOCRCPP_API _declspec(dllexport)
#else
#define LIBEASYOCRCPP_API _declspec(dllimport)
#ifdef _DEBUG
#pragma comment(lib, "LibEasyOCR-CPPd.lib")
#else
#pragma comment(lib, "LibEasyOCR-CPP.lib")
#endif
#endif