简体   繁体   English

如何在VS2015项目中包含libcds?

[英]How to include libcds in VS2015 project?

I'm working on windows. 我正在Windows上工作。 How to include the CDS library in VS project? 如何在VS项目中包含CDS库? I could not find 'include' directory, nor 'lib' directory. 我找不到“ include”目录,也找不到“ lib”目录。

http://libcds.sourceforge.net/doc/cds-api/index.html http://libcds.sourceforge.net/doc/cds-api/index.html

It seems to be a header only library, just put it in a folder and add a include directory to that folder with visual studio under Properties->VC++ Directories->Include Directory and then all you have to do is 它似乎只是一个标头库,只需将其放在文件夹中,然后使用Visual Studio在“ Properties->VC++ Directories->Include Directory下向该文件夹添加一个包含目录,然后您要做的就是

#include <FolderWhereCDSIsAt\allocator.h>

or 要么

#include <FolderWhereCDSIsAt\cache_line.h>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM