I'm currently looking into creating an environment extension for BCI2000 and I have a development issue.
Instead copying all the cpp files to my project I would like to link against a static library. To do this a .lib file should be build from the existing files. However I couldn't find which files I HAVE to include for this and before I turn to trial and error building, I would like to know your opinions. Both on the entire idea of building (a) static librar(y/ies) from BCI2000 that can be used in other programs and on what this lib should contain to function properly.
I am aware of the fact that this would require rebuilds when new versions appear, but if a new version of the C++, a rebuild is required anyhow.
Environment Extension - Static Libraries
We have thought about creating a static library from BCI2000 framework code, but refrained from doing so because this would bring up issues with maintaining compatibility of compiler options between static libraries, and projects that use them.
If you would like to build the BCI2000 framework into a static library, you might use the list of files in
build/cmake/frameworks/DefaultBCI2000Framework.cmake
as a starting point.
--Juergen
If you would like to build the BCI2000 framework into a static library, you might use the list of files in
build/cmake/frameworks/DefaultBCI2000Framework.cmake
as a starting point.
--Juergen
Who is online
Users browsing this forum: No registered users and 3 guests