12 lines
185 B
Ruby
12 lines
185 B
Ruby
|
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
|