#include <msp/builder/architecture.h>
+#include <msp/builder/builder.h>
#include "microsofttools.h"
#include "msvcplugin.h"
+#include "vcxprojectfile.h"
+#include "vssolutionfile.h"
void MsvcPlugin::add_tools(Toolchain &toolchain, const Architecture &arch) const
{
toolchain.add_toolchain(new MicrosoftTools(builder, arch));
}
+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);
+ }
+}
+
extern "C"
Plugin *create_plugin(Builder &builder)