I have been writing my own library wrapper for Win32. I want to have it as an easily accessible library I can include in my projects.

Currently I have to manually add all the files to the project I am creating, then add the code:

#include "..etc/somefolder/frzn_windows.h"

Is there a way I can setup Microsoft Visual Studio 13 to automatically link the folder I store "frzn_windows.h" in, and also so I don't have to add each .h/.cpp file to the project. Similar to how it knows "windows.h" or < string>, etc.

I don't want the library to be a .dll or anything, just code that includes a bunch of classes to make it easier to use the Windows API.

有帮助吗?

解决方案

You can use Additional Include Directories feature, that is accessible through project's Property Pages. See official Microsoft documentation here for details.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top