如何 configure.py botan 库为 win32 和 x64 构建生成合并文件
How to configure.py botan library to generate amalgamation files for both win32 and x64 build
我正在尝试在我的 vs2013 项目中使用 botan 库。我想将 amagamated 文件添加到我的项目中,并能够在 win32 和 x64 版本中创建我的应用程序。
但是,configure.py
创建的合并文件 (botan_all.cpp
/botan_all.h
/botan_all_internal.h
) 似乎是 cpu 特定的。是否有 configure.py 选项(如 --cpu=i386,x64
)为两个版本创建文件?
没有。您需要为每个构建创建一个合并。所以基本上工作流程可以是:
- 配置 32 位
- 将botan_all.cpp/botan_all.h/botan_all_internal.h复制到项目的32位子目录中
- 配置 64 位
- 将 botan_all.cpp/botan_all.h/botan_all_internal.h 复制到项目的 64 位子目录中
我正在尝试在我的 vs2013 项目中使用 botan 库。我想将 amagamated 文件添加到我的项目中,并能够在 win32 和 x64 版本中创建我的应用程序。
但是,configure.py
创建的合并文件 (botan_all.cpp
/botan_all.h
/botan_all_internal.h
) 似乎是 cpu 特定的。是否有 configure.py 选项(如 --cpu=i386,x64
)为两个版本创建文件?
没有。您需要为每个构建创建一个合并。所以基本上工作流程可以是:
- 配置 32 位
- 将botan_all.cpp/botan_all.h/botan_all_internal.h复制到项目的32位子目录中
- 配置 64 位
- 将 botan_all.cpp/botan_all.h/botan_all_internal.h 复制到项目的 64 位子目录中