task "configure" do check_cxx_compiler "g++" check_lib "SDL2" check_lib "SDL2main" end task "build" do env do |env| env.Program("Chess", glob("src/*.cpp")) end end