Changing WIndows/MSVC compile to create static libraries, and removing unused -fPIC flag for MSVC. MSVC DLLs export nothing by default, so getting all of the symbols to export will requiring adding __declspec(dllexport) on every class/function. Or, I tried using CMake's CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS but this only seems to export half the symbols. So for now at least we'll do static linking on Windows.
Changing WIndows/MSVC compile to create static libraries, and removing unused -fPIC flag for MSVC. MSVC DLLs export nothing by default, so getting all of the symbols to export will requiring adding __declspec(dllexport) on every class/function. Or, I tried using CMake's CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS but this only seems to export half the symbols. So for now at least we'll do static linking on Windows.

cherryc/dynet,kamigaito/cnn,cherryc/dynet,mitchellstern/dynet,Peilun-Li/dynet,cherryc/dynet,Peilun-Li/dynet,Peilun-Li/dynet,Abasyoni/dynet,kamigaito/cnn,Abasyoni/dynet,mitchellstern/dynet,Abasyoni/dynet