cxxproject 0.5.48 → 0.5.59
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile.rb +116 -116
- data/bin/cxx +10 -10
- data/lib/cxxproject.rb +23 -23
- data/lib/cxxproject/buildingblocks/binary_library.rb +39 -39
- data/lib/cxxproject/buildingblocks/building_block.rb +251 -239
- data/lib/cxxproject/buildingblocks/command_line.rb +79 -79
- data/lib/cxxproject/buildingblocks/custom_building_block.rb +39 -41
- data/lib/cxxproject/buildingblocks/executable.rb +257 -249
- data/lib/cxxproject/buildingblocks/has_dependencies_mixin.rb +83 -83
- data/lib/cxxproject/buildingblocks/has_includes_mixin.rb +20 -20
- data/lib/cxxproject/buildingblocks/has_libraries_mixin.rb +34 -34
- data/lib/cxxproject/buildingblocks/has_sources_mixin.rb +371 -364
- data/lib/cxxproject/buildingblocks/makefile.rb +153 -153
- data/lib/cxxproject/buildingblocks/module.rb +35 -35
- data/lib/cxxproject/buildingblocks/single_source.rb +33 -33
- data/lib/cxxproject/buildingblocks/source_library.rb +124 -124
- data/lib/cxxproject/errorparser/diab_compiler_error_parser.rb +40 -40
- data/lib/cxxproject/errorparser/diab_linker_error_parser.rb +41 -33
- data/lib/cxxproject/errorparser/error_parser.rb +50 -50
- data/lib/cxxproject/errorparser/gcc_compiler_error_parser.rb +35 -30
- data/lib/cxxproject/errorparser/gcc_linker_error_parser.rb +35 -29
- data/lib/cxxproject/errorparser/ti_compiler_error_parser.rb +30 -30
- data/lib/cxxproject/errorparser/ti_linker_error_parser.rb +30 -29
- data/lib/cxxproject/eval_context.rb +144 -136
- data/lib/cxxproject/ext/file.rb +71 -71
- data/lib/cxxproject/ext/filelist.rb +6 -6
- data/lib/cxxproject/ext/progressbar.rb +20 -20
- data/lib/cxxproject/ext/rake.rb +419 -397
- data/lib/cxxproject/ext/rake_dirty.rb +30 -30
- data/lib/cxxproject/ext/rake_listener.rb +59 -59
- data/lib/cxxproject/ext/stdout.rb +44 -44
- data/lib/cxxproject/ext/string.rb +9 -9
- data/lib/cxxproject/ide_interface.rb +187 -181
- data/lib/cxxproject/toolchain/clang.rb +39 -39
- data/lib/cxxproject/toolchain/colorizing_formatter.rb +99 -99
- data/lib/cxxproject/toolchain/diab.rb +3 -1
- data/lib/cxxproject/toolchain/gcc.rb +2 -1
- data/lib/cxxproject/toolchain/provider.rb +131 -128
- data/lib/cxxproject/toolchain/toolchain.rb +38 -38
- data/lib/cxxproject/toolchain/toolchain_benchmark.rb +23 -23
- data/lib/cxxproject/torake.rb +218 -216
- data/lib/cxxproject/utils/cleanup.rb +20 -20
- data/lib/cxxproject/utils/console.rb +6 -6
- data/lib/cxxproject/utils/exit_helper.rb +40 -40
- data/lib/cxxproject/utils/graphstream.rb +154 -154
- data/lib/cxxproject/utils/optional.rb +16 -16
- data/lib/cxxproject/utils/printer.rb +50 -50
- data/lib/cxxproject/utils/process.rb +52 -52
- data/lib/cxxproject/utils/progress.rb +66 -66
- data/lib/cxxproject/utils/progress_helper.rb +77 -77
- data/lib/cxxproject/utils/rbcurse.rb +284 -284
- data/lib/cxxproject/utils/rbcurse_executable_ext.rb +14 -14
- data/lib/cxxproject/utils/rbcurse_progress.rb +71 -71
- data/lib/cxxproject/utils/rbcurse_tasktable.rb +51 -51
- data/lib/cxxproject/utils/stats.rb +60 -60
- data/lib/cxxproject/utils/ubigraph.rb +228 -228
- data/lib/cxxproject/utils/utils.rb +60 -37
- data/lib/cxxproject/utils/valgrind.rb +11 -11
- data/lib/cxxproject/version.rb +7 -7
- data/lib/tools/Rakefile.rb.template +10 -10
- data/lib/tools/project.rb.template +6 -6
- data/lib/tools/project_wizard.rb +66 -66
- data/spec/building_block_spec.rb +56 -56
- data/spec/cxxproject_2_rake_spec.rb +186 -186
- data/spec/file_ext_spec.rb +30 -30
- data/spec/ide_interface_spec.rb +41 -41
- data/spec/object_dependency_spec.rb +83 -83
- data/spec/project_path_spec.rb +71 -71
- data/spec/rake_listener_ext_spec.rb +58 -58
- data/spec/spec_helper.rb +18 -18
- data/spec/string_spec.rb +11 -11
- data/spec/testdata/basic/exe12/project.rb +5 -5
- data/spec/testdata/basic/lib1/project.rb +5 -5
- data/spec/testdata/basic/lib2/project.rb +8 -8
- data/spec/testdata/multiple_levels/libs/lib1/project.rb +5 -5
- data/spec/testdata/multiple_levels/libs/lib2/project.rb +19 -19
- data/spec/testdata/multiple_levels/mainproject/basic/project.rb +8 -8
- data/spec/testdata/onlyOneHeader/Rakefile.rb +4 -4
- data/spec/testdata/onlyOneHeader/project.rb +4 -4
- data/spec/toolchain_spec.rb +29 -29
- metadata +58 -58
@@ -1,58 +1,58 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'cxxproject'
|
3
|
-
require 'cxxproject/ext/rake_listener.rb'
|
4
|
-
require 'cxxproject/utils/cleanup'
|
5
|
-
|
6
|
-
describe Rake::Task do
|
7
|
-
|
8
|
-
before(:each) do
|
9
|
-
Cxxproject::Utils.cleanup_rake
|
10
|
-
end
|
11
|
-
after(:each) do
|
12
|
-
Cxxproject::Utils.cleanup_rake
|
13
|
-
end
|
14
|
-
|
15
|
-
|
16
|
-
it "should call a listener for prerequisites and execute" do
|
17
|
-
task "mypre"
|
18
|
-
t = task "test" => "mypre"
|
19
|
-
|
20
|
-
l = mock
|
21
|
-
Rake::add_listener(l)
|
22
|
-
|
23
|
-
l.should_receive(:before_execute).with('mypre')
|
24
|
-
l.should_receive(:after_execute).with('mypre')
|
25
|
-
l.should_receive(:before_prerequisites).with('mypre')
|
26
|
-
l.should_receive(:after_prerequisites).with('mypre')
|
27
|
-
l.should_receive(:before_prerequisites).with('test')
|
28
|
-
l.should_receive(:after_prerequisites).with('test')
|
29
|
-
l.should_receive(:before_execute).with('test')
|
30
|
-
l.should_receive(:after_execute).with('test')
|
31
|
-
t.invoke
|
32
|
-
|
33
|
-
Rake::remove_listener(l)
|
34
|
-
|
35
|
-
t.invoke
|
36
|
-
end
|
37
|
-
|
38
|
-
class DummyListener
|
39
|
-
def calls
|
40
|
-
@calls ||= []
|
41
|
-
end
|
42
|
-
def after_execute(name)
|
43
|
-
c = calls
|
44
|
-
c << name
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
it "should work with only half implemented rake-listener" do
|
49
|
-
task "mypre"
|
50
|
-
t = task "test" => "mypre"
|
51
|
-
l = DummyListener.new
|
52
|
-
Rake::add_listener(l)
|
53
|
-
t.invoke
|
54
|
-
Rake::remove_listener(l)
|
55
|
-
l.calls.should eq(['mypre', 'test'])
|
56
|
-
end
|
57
|
-
|
58
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'cxxproject'
|
3
|
+
require 'cxxproject/ext/rake_listener.rb'
|
4
|
+
require 'cxxproject/utils/cleanup'
|
5
|
+
|
6
|
+
describe Rake::Task do
|
7
|
+
|
8
|
+
before(:each) do
|
9
|
+
Cxxproject::Utils.cleanup_rake
|
10
|
+
end
|
11
|
+
after(:each) do
|
12
|
+
Cxxproject::Utils.cleanup_rake
|
13
|
+
end
|
14
|
+
|
15
|
+
|
16
|
+
it "should call a listener for prerequisites and execute" do
|
17
|
+
task "mypre"
|
18
|
+
t = task "test" => "mypre"
|
19
|
+
|
20
|
+
l = mock
|
21
|
+
Rake::add_listener(l)
|
22
|
+
|
23
|
+
l.should_receive(:before_execute).with('mypre')
|
24
|
+
l.should_receive(:after_execute).with('mypre')
|
25
|
+
l.should_receive(:before_prerequisites).with('mypre')
|
26
|
+
l.should_receive(:after_prerequisites).with('mypre')
|
27
|
+
l.should_receive(:before_prerequisites).with('test')
|
28
|
+
l.should_receive(:after_prerequisites).with('test')
|
29
|
+
l.should_receive(:before_execute).with('test')
|
30
|
+
l.should_receive(:after_execute).with('test')
|
31
|
+
t.invoke
|
32
|
+
|
33
|
+
Rake::remove_listener(l)
|
34
|
+
|
35
|
+
t.invoke
|
36
|
+
end
|
37
|
+
|
38
|
+
class DummyListener
|
39
|
+
def calls
|
40
|
+
@calls ||= []
|
41
|
+
end
|
42
|
+
def after_execute(name)
|
43
|
+
c = calls
|
44
|
+
c << name
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
it "should work with only half implemented rake-listener" do
|
49
|
+
task "mypre"
|
50
|
+
t = task "test" => "mypre"
|
51
|
+
l = DummyListener.new
|
52
|
+
Rake::add_listener(l)
|
53
|
+
t.invoke
|
54
|
+
Rake::remove_listener(l)
|
55
|
+
l.calls.should eq(['mypre', 'test'])
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,18 +1,18 @@
|
|
1
|
-
$:.unshift File.join(File.dirname(__FILE__),"..","lib")
|
2
|
-
|
3
|
-
require 'cxxproject/utils/optional'
|
4
|
-
initialize_simplecov = lambda do
|
5
|
-
require 'simplecov'
|
6
|
-
if ENV['COVERAGE']
|
7
|
-
SimpleCov.start do
|
8
|
-
add_group 'buildingblocks', 'lib/cxxproject/buildingblocks'
|
9
|
-
add_group 'utils', 'lib/cxxproject/utils'
|
10
|
-
add_group 'errorparser', 'lib/cxxproject/errorparser'
|
11
|
-
add_group 'toolchain', 'lib/cxxproject/toolchain'
|
12
|
-
add_group 'ext', 'lib/cxxproject/ext'
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
Cxxproject::Utils::optional_package(initialize_simplecov, nil)
|
17
|
-
|
18
|
-
RakeFileUtils.send(:verbose, false)
|
1
|
+
$:.unshift File.join(File.dirname(__FILE__),"..","lib")
|
2
|
+
|
3
|
+
require 'cxxproject/utils/optional'
|
4
|
+
initialize_simplecov = lambda do
|
5
|
+
require 'simplecov'
|
6
|
+
if ENV['COVERAGE']
|
7
|
+
SimpleCov.start do
|
8
|
+
add_group 'buildingblocks', 'lib/cxxproject/buildingblocks'
|
9
|
+
add_group 'utils', 'lib/cxxproject/utils'
|
10
|
+
add_group 'errorparser', 'lib/cxxproject/errorparser'
|
11
|
+
add_group 'toolchain', 'lib/cxxproject/toolchain'
|
12
|
+
add_group 'ext', 'lib/cxxproject/ext'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
Cxxproject::Utils::optional_package(initialize_simplecov, nil)
|
17
|
+
|
18
|
+
RakeFileUtils.send(:verbose, false)
|
data/spec/string_spec.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
require 'cxxproject'
|
2
|
-
|
3
|
-
describe String do
|
4
|
-
it 'should remove from start if matching' do
|
5
|
-
s = "abcd"
|
6
|
-
s.remove_from_start('abc').should == 'd'
|
7
|
-
end
|
8
|
-
it 'should not change the string if the start does not match' do
|
9
|
-
"abcd".remove_from_start('z').should == 'abcd'
|
10
|
-
end
|
11
|
-
end
|
1
|
+
require 'cxxproject'
|
2
|
+
|
3
|
+
describe String do
|
4
|
+
it 'should remove from start if matching' do
|
5
|
+
s = "abcd"
|
6
|
+
s.remove_from_start('abc').should == 'd'
|
7
|
+
end
|
8
|
+
it 'should not change the string if the start does not match' do
|
9
|
+
"abcd".remove_from_start('z').should == 'abcd'
|
10
|
+
end
|
11
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
exe "basic",
|
3
|
-
:sources => FileList.new('**/*.cpp'),
|
4
|
-
:dependencies => ['2']
|
5
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
exe "basic",
|
3
|
+
:sources => FileList.new('**/*.cpp'),
|
4
|
+
:dependencies => ['2']
|
5
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
source_lib "1",
|
3
|
-
:sources => ['lib1.cpp'],
|
4
|
-
:includes => ['.']
|
5
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
source_lib "1",
|
3
|
+
:sources => ['lib1.cpp'],
|
4
|
+
:includes => ['.']
|
5
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
deps = ['1', BinaryLibrary.new('z')]
|
3
|
-
deps << BinaryLibrary.new('dl') if Utils::OS.linux?
|
4
|
-
source_lib "2",
|
5
|
-
:sources => FileList['**/*.cpp'],
|
6
|
-
:dependencies => deps,
|
7
|
-
:includes => ['.']
|
8
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
deps = ['1', BinaryLibrary.new('z')]
|
3
|
+
deps << BinaryLibrary.new('dl') if Utils::OS.linux?
|
4
|
+
source_lib "2",
|
5
|
+
:sources => FileList['**/*.cpp'],
|
6
|
+
:dependencies => deps,
|
7
|
+
:includes => ['.']
|
8
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
source_lib "1",
|
3
|
-
:sources => FileList['lib1.cpp'],
|
4
|
-
:includes => ['.']
|
5
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
source_lib "1",
|
3
|
+
:sources => FileList['lib1.cpp'],
|
4
|
+
:includes => ['.']
|
5
|
+
end
|
@@ -1,19 +1,19 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
deps = ['1', BinaryLibrary.new('z')]
|
3
|
-
deps << BinaryLibrary.new('dl') if Utils::OS.linux?
|
4
|
-
|
5
|
-
source_lib "2",
|
6
|
-
:sources => FileList['**/*.cpp'],
|
7
|
-
:dependencies => deps,
|
8
|
-
:includes => ['.']
|
9
|
-
|
10
|
-
|
11
|
-
unittest_flags = {
|
12
|
-
:DEFINES => ['UNIT_TEST','CPPUNIT_MAIN="main"']
|
13
|
-
}
|
14
|
-
source_lib "2_debug",
|
15
|
-
:sources => FileList['**/*.cpp'],
|
16
|
-
:dependencies => deps,
|
17
|
-
:includes => ['.'],
|
18
|
-
:toolchain => Provider.modify_cpp_compiler("GCC", unittest_flags)
|
19
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
deps = ['1', BinaryLibrary.new('z')]
|
3
|
+
deps << BinaryLibrary.new('dl') if Utils::OS.linux?
|
4
|
+
|
5
|
+
source_lib "2",
|
6
|
+
:sources => FileList['**/*.cpp'],
|
7
|
+
:dependencies => deps,
|
8
|
+
:includes => ['.']
|
9
|
+
|
10
|
+
|
11
|
+
unittest_flags = {
|
12
|
+
:DEFINES => ['UNIT_TEST','CPPUNIT_MAIN="main"']
|
13
|
+
}
|
14
|
+
source_lib "2_debug",
|
15
|
+
:sources => FileList['**/*.cpp'],
|
16
|
+
:dependencies => deps,
|
17
|
+
:includes => ['.'],
|
18
|
+
:toolchain => Provider.modify_cpp_compiler("GCC", unittest_flags)
|
19
|
+
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
exe "basic",
|
3
|
-
:sources => FileList['**/*.cpp'],
|
4
|
-
:dependencies => ['2']
|
5
|
-
exe "debug",
|
6
|
-
:sources => FileList['**/*.cpp'],
|
7
|
-
:dependencies => ['2_debug']
|
8
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
exe "basic",
|
3
|
+
:sources => FileList['**/*.cpp'],
|
4
|
+
:dependencies => ['2']
|
5
|
+
exe "debug",
|
6
|
+
:sources => FileList['**/*.cpp'],
|
7
|
+
:dependencies => ['2_debug']
|
8
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
$:.unshift File.join(File.dirname(__FILE__),"..","..","lib")
|
2
|
-
require 'cxxproject'
|
3
|
-
BuildDir='output'
|
4
|
-
CxxProject2Rake.new(['project.rb'], BuildDir, GCCChain)
|
1
|
+
$:.unshift File.join(File.dirname(__FILE__),"..","..","lib")
|
2
|
+
require 'cxxproject'
|
3
|
+
BuildDir='output'
|
4
|
+
CxxProject2Rake.new(['project.rb'], BuildDir, GCCChain)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
cxx_configuration do
|
2
|
-
exe "basic",
|
3
|
-
:sources => FileList.new('**/*.cpp')
|
4
|
-
end
|
1
|
+
cxx_configuration do
|
2
|
+
exe "basic",
|
3
|
+
:sources => FileList.new('**/*.cpp')
|
4
|
+
end
|
data/spec/toolchain_spec.rb
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
GCC_JSON = File.join(File.dirname(__FILE__),"..","lib","cxxproject","toolchain","gcc.json")
|
2
|
-
require 'cxxproject/toolchain/toolchain'
|
3
|
-
|
4
|
-
# describe String do
|
5
|
-
# it 'should correctly load toolchain from json file' do
|
6
|
-
# tc = Toolchain.new(GCC_JSON)
|
7
|
-
# tc.name.should == "gcc"
|
8
|
-
# tc.compiler.cpp.command.should == "g++"
|
9
|
-
# tc.compiler.c.source_file_endings.should == [".c"]
|
10
|
-
# tc.linker.output_ending == ".exe"
|
11
|
-
# end
|
12
|
-
#
|
13
|
-
# it 'should be possible to add list items to existing settings' do
|
14
|
-
# tc = Toolchain.new(GCC_JSON)
|
15
|
-
# tc.compiler.c.source_file_endings.should == [".c"]
|
16
|
-
# tc.compiler.c.source_file_endings << ".cc"
|
17
|
-
# tc.compiler.c.source_file_endings.should == [".c",".cc"]
|
18
|
-
# tc.compiler.c.source_file_endings << ".aa"
|
19
|
-
# tc.compiler.c.source_file_endings.should == [".c",".cc",".aa"]
|
20
|
-
# end
|
21
|
-
#
|
22
|
-
# it "should be possible to replace existing settings" do
|
23
|
-
# tc = Toolchain.new(GCC_JSON)
|
24
|
-
# tc.compiler.c.source_file_endings.should == [".c"]
|
25
|
-
# tc.compiler.c.source_file_endings = [".cc"]
|
26
|
-
# tc.compiler.c.source_file_endings.should == [".cc"]
|
27
|
-
# end
|
28
|
-
#
|
29
|
-
# end
|
1
|
+
GCC_JSON = File.join(File.dirname(__FILE__),"..","lib","cxxproject","toolchain","gcc.json")
|
2
|
+
require 'cxxproject/toolchain/toolchain'
|
3
|
+
|
4
|
+
# describe String do
|
5
|
+
# it 'should correctly load toolchain from json file' do
|
6
|
+
# tc = Toolchain.new(GCC_JSON)
|
7
|
+
# tc.name.should == "gcc"
|
8
|
+
# tc.compiler.cpp.command.should == "g++"
|
9
|
+
# tc.compiler.c.source_file_endings.should == [".c"]
|
10
|
+
# tc.linker.output_ending == ".exe"
|
11
|
+
# end
|
12
|
+
#
|
13
|
+
# it 'should be possible to add list items to existing settings' do
|
14
|
+
# tc = Toolchain.new(GCC_JSON)
|
15
|
+
# tc.compiler.c.source_file_endings.should == [".c"]
|
16
|
+
# tc.compiler.c.source_file_endings << ".cc"
|
17
|
+
# tc.compiler.c.source_file_endings.should == [".c",".cc"]
|
18
|
+
# tc.compiler.c.source_file_endings << ".aa"
|
19
|
+
# tc.compiler.c.source_file_endings.should == [".c",".cc",".aa"]
|
20
|
+
# end
|
21
|
+
#
|
22
|
+
# it "should be possible to replace existing settings" do
|
23
|
+
# tc = Toolchain.new(GCC_JSON)
|
24
|
+
# tc.compiler.c.source_file_endings.should == [".c"]
|
25
|
+
# tc.compiler.c.source_file_endings = [".cc"]
|
26
|
+
# tc.compiler.c.source_file_endings.should == [".cc"]
|
27
|
+
# end
|
28
|
+
#
|
29
|
+
# end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cxxproject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.5.
|
5
|
+
version: 0.5.59
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- oliver mueller
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2012-08-27 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: highline
|
@@ -54,84 +54,84 @@ extensions: []
|
|
54
54
|
extra_rdoc_files: []
|
55
55
|
|
56
56
|
files:
|
57
|
-
- lib/cxxproject
|
58
|
-
- lib/
|
59
|
-
- lib/cxxproject/
|
60
|
-
- lib/cxxproject/
|
61
|
-
- lib/cxxproject/
|
62
|
-
- lib/cxxproject/
|
63
|
-
- lib/cxxproject/toolchain/ti.rb
|
64
|
-
- lib/cxxproject/toolchain/provider.rb
|
65
|
-
- lib/cxxproject/utils/ubigraph.rb
|
57
|
+
- lib/cxxproject.rb
|
58
|
+
- lib/tools/project_wizard.rb
|
59
|
+
- lib/cxxproject/eval_context.rb
|
60
|
+
- lib/cxxproject/ide_interface.rb
|
61
|
+
- lib/cxxproject/torake.rb
|
62
|
+
- lib/cxxproject/version.rb
|
66
63
|
- lib/cxxproject/utils/cleanup.rb
|
64
|
+
- lib/cxxproject/utils/console.rb
|
65
|
+
- lib/cxxproject/utils/exit_helper.rb
|
67
66
|
- lib/cxxproject/utils/graphstream.rb
|
67
|
+
- lib/cxxproject/utils/optional.rb
|
68
|
+
- lib/cxxproject/utils/printer.rb
|
69
|
+
- lib/cxxproject/utils/process.rb
|
68
70
|
- lib/cxxproject/utils/progress.rb
|
69
|
-
- lib/cxxproject/utils/rbcurse_executable_ext.rb
|
70
|
-
- lib/cxxproject/utils/valgrind.rb
|
71
71
|
- lib/cxxproject/utils/progress_helper.rb
|
72
|
-
- lib/cxxproject/utils/stats.rb
|
73
|
-
- lib/cxxproject/utils/optional.rb
|
74
|
-
- lib/cxxproject/utils/exit_helper.rb
|
75
|
-
- lib/cxxproject/utils/rbcurse_progress.rb
|
76
72
|
- lib/cxxproject/utils/rbcurse.rb
|
77
|
-
- lib/cxxproject/utils/
|
73
|
+
- lib/cxxproject/utils/rbcurse_executable_ext.rb
|
74
|
+
- lib/cxxproject/utils/rbcurse_progress.rb
|
78
75
|
- lib/cxxproject/utils/rbcurse_tasktable.rb
|
76
|
+
- lib/cxxproject/utils/stats.rb
|
77
|
+
- lib/cxxproject/utils/ubigraph.rb
|
79
78
|
- lib/cxxproject/utils/utils.rb
|
80
|
-
- lib/cxxproject/utils/
|
81
|
-
- lib/cxxproject/
|
82
|
-
- lib/cxxproject/
|
83
|
-
- lib/cxxproject/
|
79
|
+
- lib/cxxproject/utils/valgrind.rb
|
80
|
+
- lib/cxxproject/toolchain/clang.rb
|
81
|
+
- lib/cxxproject/toolchain/colorizing_formatter.rb
|
82
|
+
- lib/cxxproject/toolchain/diab.rb
|
83
|
+
- lib/cxxproject/toolchain/gcc.rb
|
84
|
+
- lib/cxxproject/toolchain/provider.rb
|
85
|
+
- lib/cxxproject/toolchain/ti.rb
|
86
|
+
- lib/cxxproject/toolchain/toolchain.rb
|
87
|
+
- lib/cxxproject/toolchain/toolchain_benchmark.rb
|
84
88
|
- lib/cxxproject/ext/file.rb
|
85
|
-
- lib/cxxproject/ext/rake_listener.rb
|
86
|
-
- lib/cxxproject/ext/progressbar.rb
|
87
|
-
- lib/cxxproject/ext/stdout.rb
|
88
89
|
- lib/cxxproject/ext/filelist.rb
|
90
|
+
- lib/cxxproject/ext/progressbar.rb
|
91
|
+
- lib/cxxproject/ext/rake.rb
|
89
92
|
- lib/cxxproject/ext/rake_dirty.rb
|
90
|
-
- lib/cxxproject/
|
91
|
-
- lib/cxxproject/
|
92
|
-
- lib/cxxproject/
|
93
|
-
- lib/cxxproject/version.rb
|
94
|
-
- lib/cxxproject/errorparser/ti_linker_error_parser.rb
|
95
|
-
- lib/cxxproject/errorparser/gcc_compiler_error_parser.rb
|
96
|
-
- lib/cxxproject/errorparser/diab_linker_error_parser.rb
|
93
|
+
- lib/cxxproject/ext/rake_listener.rb
|
94
|
+
- lib/cxxproject/ext/stdout.rb
|
95
|
+
- lib/cxxproject/ext/string.rb
|
97
96
|
- lib/cxxproject/errorparser/diab_compiler_error_parser.rb
|
98
|
-
- lib/cxxproject/errorparser/
|
97
|
+
- lib/cxxproject/errorparser/diab_linker_error_parser.rb
|
99
98
|
- lib/cxxproject/errorparser/error_parser.rb
|
99
|
+
- lib/cxxproject/errorparser/gcc_compiler_error_parser.rb
|
100
100
|
- lib/cxxproject/errorparser/gcc_linker_error_parser.rb
|
101
|
-
- lib/cxxproject/
|
101
|
+
- lib/cxxproject/errorparser/ti_compiler_error_parser.rb
|
102
|
+
- lib/cxxproject/errorparser/ti_linker_error_parser.rb
|
103
|
+
- lib/cxxproject/buildingblocks/binary_library.rb
|
104
|
+
- lib/cxxproject/buildingblocks/building_block.rb
|
102
105
|
- lib/cxxproject/buildingblocks/command_line.rb
|
103
106
|
- lib/cxxproject/buildingblocks/custom_building_block.rb
|
104
|
-
- lib/cxxproject/buildingblocks/has_sources_mixin.rb
|
105
|
-
- lib/cxxproject/buildingblocks/single_source.rb
|
106
107
|
- lib/cxxproject/buildingblocks/executable.rb
|
107
|
-
- lib/cxxproject/buildingblocks/
|
108
|
-
- lib/cxxproject/buildingblocks/source_library.rb
|
108
|
+
- lib/cxxproject/buildingblocks/has_dependencies_mixin.rb
|
109
109
|
- lib/cxxproject/buildingblocks/has_includes_mixin.rb
|
110
|
-
- lib/cxxproject/buildingblocks/
|
110
|
+
- lib/cxxproject/buildingblocks/has_libraries_mixin.rb
|
111
|
+
- lib/cxxproject/buildingblocks/has_sources_mixin.rb
|
111
112
|
- lib/cxxproject/buildingblocks/makefile.rb
|
112
|
-
- lib/cxxproject/buildingblocks/
|
113
|
-
- lib/cxxproject/buildingblocks/
|
114
|
-
- lib/
|
115
|
-
- lib/cxxproject.rb
|
113
|
+
- lib/cxxproject/buildingblocks/module.rb
|
114
|
+
- lib/cxxproject/buildingblocks/single_source.rb
|
115
|
+
- lib/cxxproject/buildingblocks/source_library.rb
|
116
116
|
- Rakefile.rb
|
117
|
-
- spec/
|
117
|
+
- spec/building_block_spec.rb
|
118
118
|
- spec/cxxproject_2_rake_spec.rb
|
119
|
-
- spec/
|
119
|
+
- spec/file_ext_spec.rb
|
120
120
|
- spec/ide_interface_spec.rb
|
121
|
-
- spec/
|
122
|
-
- spec/
|
123
|
-
- spec/testdata/basic/lib2/project.rb
|
124
|
-
- spec/testdata/basic/lib1/project.rb
|
125
|
-
- spec/testdata/multiple_levels/libs/lib2/project.rb
|
126
|
-
- spec/testdata/multiple_levels/libs/lib1/project.rb
|
127
|
-
- spec/testdata/multiple_levels/mainproject/basic/project.rb
|
128
|
-
- spec/testdata/onlyOneHeader/project.rb
|
129
|
-
- spec/testdata/onlyOneHeader/Rakefile.rb
|
130
|
-
- spec/string_spec.rb
|
131
|
-
- spec/spec_helper.rb
|
121
|
+
- spec/object_dependency_spec.rb
|
122
|
+
- spec/project_path_spec.rb
|
132
123
|
- spec/rake_listener_ext_spec.rb
|
124
|
+
- spec/spec_helper.rb
|
125
|
+
- spec/string_spec.rb
|
133
126
|
- spec/toolchain_spec.rb
|
134
|
-
- spec/
|
127
|
+
- spec/testdata/onlyOneHeader/project.rb
|
128
|
+
- spec/testdata/onlyOneHeader/Rakefile.rb
|
129
|
+
- spec/testdata/multiple_levels/mainproject/basic/project.rb
|
130
|
+
- spec/testdata/multiple_levels/libs/lib2/project.rb
|
131
|
+
- spec/testdata/multiple_levels/libs/lib1/project.rb
|
132
|
+
- spec/testdata/basic/lib2/project.rb
|
133
|
+
- spec/testdata/basic/lib1/project.rb
|
134
|
+
- spec/testdata/basic/exe12/project.rb
|
135
135
|
- lib/tools/project.rb.template
|
136
136
|
- lib/tools/Rakefile.rb.template
|
137
137
|
- bin/cxx
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
requirements: []
|
159
159
|
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 1.8.
|
161
|
+
rubygems_version: 1.8.23
|
162
162
|
signing_key:
|
163
163
|
specification_version: 3
|
164
164
|
summary: Cpp Support for Rake.
|