> In cmake, this could be combined with WINDOWS_EXPORT_ALL_SYMBOLS (see >> >> https://cmake.org/cmake/help/latest/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.html >> ). >> > > I would probably vote for `WINDOWS_EXPORT_ALL_SYMBOLS ` since it does not > seem like Windows has a very large user base and to touch all the files for > a smaller user base does not look productive, and it then has at least the > same behaviour on Linux and Windows. >
I see this is already set in cmake: https://github.com/apache/thrift/blob/master/build/cmake/DefinePlatformSpecifc.cmake#L59
