Added Linux build

This commit is contained in:
Daniel Collin 2014-06-06 15:58:48 +02:00
parent e8d4574091
commit 60342adbea
2 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ Build {
Config { Name = "win32-msvc", Inherit = win32, Tools = { "msvc" }, SupportedHosts = { "windows" }, },
Config { Name = "win64-msvc", Inherit = win32, Tools = { "msvc" }, SupportedHosts = { "windows" }, },
Config { Name = "macosx-clang", Inherit = macosx, Tools = { "clang-osx" }, SupportedHosts = { "macosx" },},
Config { Name = "linux-gcc", Tools = { "gcc" }, SupportedHosts = { "linux" },},
},
Units = {

View File

@ -8,7 +8,7 @@ StaticLibrary {
Dir = "src",
Extensions = { ".cpp", ".c", ".h", ".s", ".m" },
Filters = {
{ Pattern = "[/\\]win32[/\\]"; Config = "win32-*" },
{ Pattern = "[/\\]windows[/\\]"; Config = { "win32-*", "win64-*" } },
{ Pattern = "[/\\]macosx[/\\]"; Config = "mac*-*" },
{ Pattern = "[/\\]unix[/\\]"; Config = { "freebsd*-*", "linux*-*" } },
},