+ if(system=="windows")
+ {
+ add_pattern<SharedLibrary>("%.dll");
+ if(toolchain=="msvc")
+ {
+ add_pattern<ObjectFile>("%.obj");
+ add_pattern<ImportLibrary>("%.lib");
+ add_pattern<StaticLibrary>("%_static.lib");
+ }
+ else
+ {
+ add_pattern<ObjectFile>("%.o");
+ add_pattern<SharedLibrary>("lib%.dll");
+ add_pattern<ImportLibrary>("lib%.dll.a");
+ add_pattern<StaticLibrary>("lib%.a");
+ }
+ add_pattern<Executable>("%.exe");
+ }
+ else
+ {
+ add_pattern<ObjectFile>("%.o");
+ if(system=="darwin")
+ add_pattern<SharedLibrary>("lib%.dylib");
+ else
+ add_pattern<SharedLibrary>("lib%.so");
+ add_pattern<StaticLibrary>("lib%.a");
+ add_pattern<Executable>("%");
+ }