]> git.mdlowis.com Git - archive/cork.git/commitdiff
Added build directory and changed artifacts output directory
authorMike D. Lowis <mike@mdlowis.com>
Thu, 23 Feb 2012 18:34:39 +0000 (13:34 -0500)
committerMike D. Lowis <mike@mdlowis.com>
Thu, 23 Feb 2012 18:34:39 +0000 (13:34 -0500)
build/DUMMY [new file with mode: 0644]
rakefile.rb

diff --git a/build/DUMMY b/build/DUMMY
new file mode 100644 (file)
index 0000000..e69de29
index 121789dd6dd960bc92ead17fb6dfbac443939136..dc77080adbe7d0d1fa5cc60152f8f5b19292a9cb 100644 (file)
@@ -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()