使用方法:
在上述代码中分别设置 YY_THUNKS_DIRYY_THUNKS_WIN_VERSIONYY_THUNKS_WIN_VER_STR 三个变量, 指定路径和目标系统版本
.
Usage:
set variables YY_THUNKS_DIRYY_THUNKS_WIN_VERSIONYY_THUNKS_WIN_VER_STR to your path and target system version
.
.
如需运行在 Windows XP 中, 需要在所有 DLL 项目中额外调用:
If you need to run in Windows XP, the code below is needed in each DLL target.target_link_options(${PROJECT_NAME} PRIVATE "/ENTRY:DllMainCRTStartupForYY_Thunks")
以下代码可以让项目正常链接到 yy-thunks 的 .obj 库: the code below can let the CMake project correctly link yy-thunks .obj libraries.
. .
使用方法: 在上述代码中分别设置
YY_THUNKS_DIR
YY_THUNKS_WIN_VERSION
YY_THUNKS_WIN_VER_STR
三个变量, 指定路径和目标系统版本 . Usage: set variablesYY_THUNKS_DIR
YY_THUNKS_WIN_VERSION
YY_THUNKS_WIN_VER_STR
to your path and target system version. . 如需运行在 Windows XP 中, 需要在所有 DLL 项目中额外调用: If you need to run in Windows XP, the code below is needed in each DLL target.
target_link_options(${PROJECT_NAME} PRIVATE "/ENTRY:DllMainCRTStartupForYY_Thunks")