From ee98543918c44861161186a80550085acb0a34ce Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 21 Oct 2008 12:34:33 +0000 Subject: fixed default.bam for bam 0.1.0 --- default.bam | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/default.bam b/default.bam index 6fc03da1..c9d06e2c 100644 --- a/default.bam +++ b/default.bam @@ -1,3 +1,5 @@ +CheckVersion("0.1") + --- Setup Config -------- config = NewConfig() config:add(OptFindCompiler()) @@ -127,8 +129,7 @@ function build(settings) settings.objdir = Path("objs") settings.cc.output = intermediate_output_func - use_sdl = 1 - if config.sdl.value == 0 then use_sdl = nil end + use_sdl = config.sdl.value if config.compiler.value == "cl" then settings.cc.flags = "/wd4244" -- cgit 1.4.1