open-zwave icon indicating copy to clipboard operation
open-zwave copied to clipboard

Feature request: Includes folder

Open gizmocuz opened this issue 5 years ago • 0 comments

Currently the header files that need to be included resides in the "src" folder.

When building under Windows environment the (static) library is placed in the Debug/Release folder.

If we want to use a include we currently have to specify the path:

#include "path/Manager.h"

The reason for this is that the final project could also contain a header file "Manager.h", and therefor we can not use #include "Manager.h"

it would be great if we could use:

#include <openzwave/Manager.h>

I know this is possible under Unix/GCC builds (makefile) where you issue 'make install', but that is not available under windows/visual studio

Is it possible to place all headers in a sub-folder "openzwave" ?

In addition to this , we do not have to call 'make install' when linking statically

Under Visual studio we could also make a custom build step that makes this folder and copies the files, but this seems double.

gizmocuz avatar Mar 14 '20 09:03 gizmocuz