Skip to content

Instantly share code, notes, and snippets.

@zao
Created February 2, 2012 09:14
Show Gist options
  • Save zao/1722507 to your computer and use it in GitHub Desktop.
Save zao/1722507 to your computer and use it in GitHub Desktop.
Excerpt from brigade build
local sqlite3 = StaticLibrary {
Name = "sqlite3",
Sources = {
{ "sqlite3/sqlite3.c" }
},
Propagate = { Env = {
CPPPATH = {
"sqlite3",
},
}, },
}
Program {
Name = "mot",
Sources = {
{ Glob { Dir = "mot", Extensions = CXXFiles } },
},
Depends = { dxsdk, ecl, gl3w, sqlite3, tbb, tinyscheme },
Libs = {
{
Config = "linux-gcc-*",
},
{
"user32.lib", "opengl32.lib",
Config = "*-msvc-*",
},
{
"glfw-vc100-gd.lib",
Config = "*-msvc-debug"
},
{
"glfw-vc100.lib",
Config = "*-msvc-release"
},
},
}
Default "mot"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment