add dll version and its usage
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user