support compiling C++ objects with Object builder
This commit is contained in:
1 parent
e6a12ac57b
commit
6fa4a8556a
6 files changed
+50
-9
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user