diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..edb6577 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.rsconscache +/app diff --git a/Rakefile.rb b/Rakefile.rb new file mode 100644 index 0000000..02dff3c --- /dev/null +++ b/Rakefile.rb @@ -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