add build infrastructure
This commit is contained in:
parent
2de807d5db
commit
921880a33b
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/.rsconscache
|
||||||
|
/app
|
13
Rakefile.rb
Normal file
13
Rakefile.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
require "rscons"
|
||||||
|
|
||||||
|
task :default do
|
||||||
|
Rscons::Environment.new do |env|
|
||||||
|
env.build_root = "build"
|
||||||
|
env["CXXFLAGS"] += %w[-isystem oglplus/include]
|
||||||
|
env["CPPDEFINES"] += %w[
|
||||||
|
OGLPLUS_NO_SITE_CONFIG
|
||||||
|
]
|
||||||
|
sources = Dir["*.cc"]
|
||||||
|
env.Program("app", sources)
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user