独立提升精神2.5.2

时间:2021-07-29 20:01:00

Has there been a standalone package for Spirit for version 2 and above? The last standalone found on spirit's website has been 1.8.5. Or is there a way I can extract only the required dependencies for Spirit from the latest version?

Spirit版本2及以上版本是否有独立软件包?在精神网站上发现的最后一个独立版本是1.8.5。或者有没有办法从最新版本中仅提取Spirit所需的依赖项?

1 个解决方案

#1


You can use BCP to extract the Spirit library (and it's dependencies).

您可以使用BCP来提取Spirit库(以及它的依赖项)。

However, it wouldn't gain you much. Spirit libraries are already header-only as they are (although if you enable thread-safety, it will require boost-thread too).

但是,它不会给你带来太多。精神库已经只是标题(虽然如果你启用线程安全,它也需要boost-thread)。

So you don't actually gain much from "removing" the unused headers. It's not like the header files are large and the ones that aren't used are... unused anyways.

因此,您实际上并没有从“删除”未使用的标头中获得太多收益。它不像头文件很大而且未使用的头文件都是......未使用过的。

#1


You can use BCP to extract the Spirit library (and it's dependencies).

您可以使用BCP来提取Spirit库(以及它的依赖项)。

However, it wouldn't gain you much. Spirit libraries are already header-only as they are (although if you enable thread-safety, it will require boost-thread too).

但是,它不会给你带来太多。精神库已经只是标题(虽然如果你启用线程安全,它也需要boost-thread)。

So you don't actually gain much from "removing" the unused headers. It's not like the header files are large and the ones that aren't used are... unused anyways.

因此,您实际上并没有从“删除”未使用的标头中获得太多收益。它不像头文件很大而且未使用的头文件都是......未使用过的。