On Windows there is no such simple and elegant solution.
Please check README
file in win32
folder of the library package for latest instructions.
However, there are few general things, that you need to remember:
All libraries linked to your application must be compiled with the same Microsoft Runtime Libraries.
Static linking with XML Security Library requires additional global defines:
#define LIBXML_STATIC #define LIBXSLT_STATIC #define XMLSEC_STATIC
If you do not want to dynamicaly load xmlsec-crypto library and prefer to select crypto engine at linking then you should link your application with xmlsec and at least one of xmlsec-crypto libraries.
In order to enable dynamic loading for xmlsec-crypto library you should add additional global define:
#define XMLSEC_CRYPTO_DYNAMIC_LOADING