It's a macro which gets defined when creating makefiles/projects with CMake.
The reason is that you have to export the function/class symbols diffrently if you link staticly or dynamicly.
So CMake will depending on your settings and the used compiler/linker define the macro either for static or dynamic export.
If you don't write your own library, you don't need to know the details.