Changed linux to x11 in order to support other x11 compatible OSes (like FreeBSD)
This commit is contained in:
parent
60342adbea
commit
e672d8a7ac
@ -31,6 +31,11 @@ local macosx = {
|
||||
Frameworks = { "Cocoa" },
|
||||
}
|
||||
|
||||
local x11 = {
|
||||
Env = { CPPPATH = { "/usr/include", }, },
|
||||
}
|
||||
|
||||
|
||||
Build {
|
||||
IdeGenerationHints = {
|
||||
Msvc = {
|
||||
@ -54,7 +59,8 @@ 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" },},
|
||||
Config { Name = "x11-gcc", Inherit = x11, Tools = { "gcc" }, SupportedHosts = { "linux", "freebsd" },},
|
||||
-- Config { Name = "x11-clang", Inherit = x11, Tools = { "clang" }, SupportedHosts = { "linux", "freebsd" },},
|
||||
},
|
||||
|
||||
Units = {
|
||||
|
@ -10,7 +10,7 @@ StaticLibrary {
|
||||
Filters = {
|
||||
{ Pattern = "[/\\]windows[/\\]"; Config = { "win32-*", "win64-*" } },
|
||||
{ Pattern = "[/\\]macosx[/\\]"; Config = "mac*-*" },
|
||||
{ Pattern = "[/\\]unix[/\\]"; Config = { "freebsd*-*", "linux*-*" } },
|
||||
{ Pattern = "[/\\]x11[/\\]"; Config = { "x11-*" } },
|
||||
},
|
||||
|
||||
Recursive = true,
|
||||
@ -35,6 +35,8 @@ Program {
|
||||
|
||||
Depends = { "minifb" },
|
||||
Sources = { "tests/noise.c" },
|
||||
|
||||
Libs = { "X11"; Config = "x11-*" },
|
||||
}
|
||||
|
||||
Default "noise"
|
||||
|
Loading…
Reference in New Issue
Block a user