osgoculusviewer icon indicating copy to clipboard operation
osgoculusviewer copied to clipboard

Add DLL import/export directive

Open rickyviking opened this issue 4 years ago • 2 comments

I think it might be useful to add DLL import directive before the classes defined by the project, to make them ready to use when the OsgOculus library is built as DLL and used in other DLLs/executables.

If you agree, I can propose a stub through a PR.

rickyviking avatar Dec 28 '20 17:12 rickyviking

Sure, send me a PR with a stub.

bjornblissing avatar Dec 28 '20 20:12 bjornblissing

Ok, see PR https://github.com/bjornblissing/osgoculusviewer/pull/108 The oculusconfig.h file is included in "" quotes, to make it easier to include the library in bigger project using a subdirectory

rickyviking avatar Dec 29 '20 16:12 rickyviking