nickgillian / grt

gesture recognition toolkit
861 stars 284 forks source link

Made GRT build as a DLL under MS Windows. #56

Closed ulatekh closed 8 years ago

ulatekh commented 8 years ago

This involved:

1) Defining GRT_STATIC_LIB appropriately in CMakeLists.txt 2) Defining GRT_API appropriately in GRTTypedefs.h 3) Defining GRT_DLL_EXPORTS in source files before including any header files 4) Adding GRT_API to class definitions (and, in the case of VectorFloat, to all method definitions, in order to avoid a multiply-defined-symbol error in the VectorFloatTest application).