From: Mike D. Lowis Date: Thu, 23 Feb 2012 18:34:39 +0000 (-0500) Subject: Added build directory and changed artifacts output directory X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=dbd1bb9634cee2c271477bb32b8556f017be5559;p=archive%2Fcork.git Added build directory and changed artifacts output directory --- diff --git a/build/DUMMY b/build/DUMMY new file mode 100644 index 0000000..e69de29 diff --git a/rakefile.rb b/rakefile.rb index 121789d..dc77080 100644 --- a/rakefile.rb +++ b/rakefile.rb @@ -8,6 +8,7 @@ require 'tools/rake_utils/source/tests' # Configuration for the static library CorkStatic = Library.new({ :name => 'libcork.a', + :output_dir => 'build/static', :compiler_options => [ '-c', '-Wall', '-Werror', '-o' ], :source_files => [ 'source/**/*.c*' ], :include_dirs => [ 'source/**/' ], @@ -17,6 +18,7 @@ CorkStatic.setup_default_rake_tasks() # Configuration for the shared library CorkShared = Library.new({ :name => 'libcork.so', + :output_dir => 'build/shared', :compiler_options => [ '-c', '-Wall', '-Werror', '-o' ], :linker_bin => 'c++', :linker_options => ['-shared', '-o'], @@ -27,6 +29,7 @@ CorkShared.setup_default_rake_tasks() # Configuration for the unit tests UnitTest = Tests.new({ + :output_dir => 'build/tests', :test_files => [ 'tests/source/**.h' ], }) UnitTest.setup_default_rake_tasks()