support compiling C++ objects with Object builder

This commit is contained in:
josh committed 2013-08-03 14:47:41 -04:00
1 parent e6a12ac57b
commit 6fa4a8556a
6 files changed
+50 -9

No files matched your search

+7
View File
@@ -136,4 +136,11 @@ describe Rscons do
%q{gcc -o program-release release/program.o},
]
end
it 'builds a C++ program with one source file' do
test_dir('simple_cc')
File.exists?('simple.o').should be_true
`./simple`.should == "This is a simple C++ program\n"
end
end