csaken/mvn-nar-test — pull request #2 by forderud (2014-06-03 19:18:22+00:00)
Title: Fix build problems on Windows by explicitly exporting/importing "function"

The test-app does not link to test-library out of the box on windows. This is because "function" is not exported to be externally visible when building test-library on Windows.

This pull request fixes this problem by tagging "function" with dllexport/dllimport attributes when building on Windows. It's possible to also introduce similar attributes for GCC/LLVM if there is interest in that (https://gcc.gnu.org/wiki/Visibility).