c++ - nuget 引用 c++ header

标签 c++ boost nuget visual-studio-2015

我正在尝试编写一个使用 Boost 和其他包的 C++ 程序。所以我使用 nuget 安装了包 boost.1.59.0.0

包确实下载好了,但是工程设置中额外的include目录和额外的库目录还是空的。这些设置不是应该由 NuGet 更新吗?

最佳答案

设置已更新,但您不会在 UI 中看到它。您的项目文件更新为对 Boost NuGet 目标文件“packages\boost\1.59.0.0\build\native\boost.targets”的引用。目标文件包含您的项目使用 Boost 1.59 header 所需的所有更改/设置。

关于c++ - nuget 引用 c++ header ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32373890/

相关文章:

c++ - 为 boost::dynamic_bitset 生成哈希并将哈希转换回 boost::dynamic_bitset

c++ - 使用 boost c++ ublas 矩阵和 vector 类型进行元素运算

c++ - 在VS2019 C++跨平台程序中包含nuget包

c++ - OpenGL:Radeon 驱动程序似乎与深度测试混淆

C++:处理许多配置变量的设计建议

c# - 我应该学习Java还是应该学习C++?

c++ - 未解析的外部符号 _main 在函数 ___tmainCRTStartup 中引用

c++ - 使用来自 boost::multiprecision 的 cpp_bin_float float 学运算出错

c# - 为什么我的repositoryPath 在 Azure DevOps/TFS 中被忽略?

nuget - 将 NuGet 包恢复到最新版本