+void MsvcPlugin::create_targets(SourcePackage &spkg) const
+{
+ const Architecture &native_arch = builder.get_native_arch();
+
+ if(native_arch.get_system()=="windows")
+ {
+ new VcxProjectFile(builder, spkg);
+ new VsSolutionFile(builder, spkg);
+ }
+}
+
+
+#if defined(_WIN32)
+#define MSVCTOOLS_API __declspec(dllexport)
+#elif defined(__GNUC__)
+#define MSVCTOOLS_API __attribute__((visibility("default")))
+#else
+#define MSVCTOOLS_API
+#endif