cxxproject 0.6.14 → 0.6.17
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.rvmrc +1 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +31 -0
- data/LICENSE +22 -0
- data/README.md +868 -0
- data/Rakefile.rb +25 -24
- data/cxx.gemspec +22 -0
- data/example/.gitignore +1 -0
- data/example/Rakefile.rb +35 -0
- data/example/big_project/.gitignore +2 -0
- data/example/big_project/Rakefile_generator.rb +80 -0
- data/example/big_project/fak.h +9 -0
- data/example/ckLayout/cxxproject/Rakefile.rb +4 -0
- data/example/ckLayout/io/Io.cpp +7 -0
- data/example/ckLayout/io/Io.h +6 -0
- data/example/ckLayout/io/project.rb +5 -0
- data/example/ckLayout/lang/Lang.cpp +7 -0
- data/example/ckLayout/lang/Lang.h +6 -0
- data/example/ckLayout/lang/project.rb +3 -0
- data/example/ckLayout/projects/test/main.cpp +8 -0
- data/example/ckLayout/projects/test/project.rb +6 -0
- data/example/custom/.gitignore +1 -0
- data/example/custom/Rakefile.rb +12 -0
- data/example/custom/foo.cpp +5 -0
- data/example/custom/project.rb +27 -0
- data/example/dependency_tests/Rakefile.rb +3 -0
- data/example/dependency_tests/help1.h +12 -0
- data/example/dependency_tests/help2.h +10 -0
- data/example/dependency_tests/main.cpp +6 -0
- data/example/dependency_tests/project.rb +3 -0
- data/example/generator/Rakefile.rb +12 -0
- data/example/generator/main/main.cpp +3 -0
- data/example/generator/main/project/project.rb +3 -0
- data/example/oneFileOnly/Rakefile.rb +3 -0
- data/example/oneFileOnly/config.h +2 -0
- data/example/oneFileOnly/main.cpp +8 -0
- data/example/oneFileOnly/project_compile.rb +3 -0
- data/example/protobuf/.gitignore +4 -0
- data/example/protobuf/Rakefile.rb +70 -0
- data/example/protobuf/addressbook/addressbook.proto +24 -0
- data/example/protobuf/addressbook/addressbook_read.cc +67 -0
- data/example/protobuf/addressbook/addressbook_write.cc +93 -0
- data/example/protobuf/addressbook/project.rb +16 -0
- data/example/protobuf/protobuf.files +37 -0
- data/example/protobuf/protobuf_project.rb +9 -0
- data/example/simpleUnitTest/Rakefile.rb +4 -0
- data/example/simpleUnitTest/atest.cpp +16 -0
- data/example/simpleUnitTest/atest.h +11 -0
- data/example/simpleUnitTest/project.rb +5 -0
- data/example/simpleUnitTest/test.cpp +13 -0
- data/example/strange_dirs/Rakefile.rb +4 -0
- data/example/strange_dirs/lazyLib/project.rb +5 -0
- data/example/strange_dirs/main/main.cpp +5 -0
- data/example/strange_dirs/main/project.rb +5 -0
- data/example/strange_dirs/src/test.cpp +4 -0
- data/example/test.rb +10 -0
- data/example/three_tests/Rakefile.rb +5 -0
- data/example/three_tests/allsuites/project.rb +4 -0
- data/example/three_tests/main/main.cpp +13 -0
- data/example/three_tests/main/project.rb +5 -0
- data/example/three_tests/suite1/project.rb +6 -0
- data/example/three_tests/suite1/suite1.cpp +3 -0
- data/example/three_tests/suite1/suite1.h +28 -0
- data/example/three_tests/suite2/project.rb +6 -0
- data/example/three_tests/suite2/suite2.cpp +3 -0
- data/example/three_tests/suite2/suite2.h +29 -0
- data/lib/cxxproject/version.rb +4 -1
- data/plugins/tmp/.rvmrc +1 -0
- data/plugins/tmp/BuildDir/objects/testme/test.o +0 -0
- data/plugins/tmp/BuildDir/objects/testme/test.o.d +1 -0
- data/plugins/tmp/BuildDir/testme.exe +0 -0
- data/plugins/tmp/Rakefile.rb +6 -0
- data/plugins/tmp/project.rb +6 -0
- data/plugins/tmp/reinstall/Rakefile.rb +15 -0
- data/plugins/tmp/test.cpp +7 -0
- data/rake_helper/perftools.rb +34 -0
- data/rake_helper/spec.rb +80 -0
- data/roodi.yml +8 -0
- data/spec/testdata/basic/exe12/help.cpp +5 -0
- data/spec/testdata/basic/exe12/help.h +6 -0
- data/spec/testdata/basic/exe12/main.cpp +10 -0
- data/spec/testdata/basic/lib1/lib1.cpp +7 -0
- data/spec/testdata/basic/lib1/lib1.h +8 -0
- data/spec/testdata/basic/lib2/lib2.cpp +17 -0
- data/spec/testdata/basic/lib2/lib2.h +6 -0
- data/spec/testdata/multiple_levels/libs/lib1/lib1.cpp +7 -0
- data/spec/testdata/multiple_levels/libs/lib1/lib1.h +8 -0
- data/spec/testdata/multiple_levels/libs/lib2/lib2.cpp +21 -0
- data/spec/testdata/multiple_levels/libs/lib2/lib2.h +6 -0
- data/spec/testdata/multiple_levels/mainproject/basic/help.cpp +5 -0
- data/spec/testdata/multiple_levels/mainproject/basic/help.h +6 -0
- data/spec/testdata/multiple_levels/mainproject/basic/main.cpp +10 -0
- data/spec/testdata/onlyOneHeader/.gitignore +1 -0
- data/spec/testdata/onlyOneHeader/help.cpp +5 -0
- data/spec/testdata/onlyOneHeader/help.h +7 -0
- data/spec/testdata/onlyOneHeader/main.cpp +8 -0
- data/spec/testdata/onlyOneHeader/testin.c +0 -0
- metadata +191 -91
data/.gitignore
ADDED
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use 1.9.3@cxxproject --create
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
diff-lcs (1.1.3)
|
5
|
+
grit (2.5.0)
|
6
|
+
diff-lcs (~> 1.1)
|
7
|
+
mime-types (~> 1.15)
|
8
|
+
posix-spawn (~> 0.3.6)
|
9
|
+
mime-types (1.19)
|
10
|
+
posix-spawn (0.3.6)
|
11
|
+
roodi (2.1.0)
|
12
|
+
ruby_parser
|
13
|
+
rspec (2.11.0)
|
14
|
+
rspec-core (~> 2.11.0)
|
15
|
+
rspec-expectations (~> 2.11.0)
|
16
|
+
rspec-mocks (~> 2.11.0)
|
17
|
+
rspec-core (2.11.0)
|
18
|
+
rspec-expectations (2.11.1)
|
19
|
+
diff-lcs (~> 1.1.3)
|
20
|
+
rspec-mocks (2.11.1)
|
21
|
+
ruby_parser (2.3.1)
|
22
|
+
sexp_processor (~> 3.0)
|
23
|
+
sexp_processor (3.2.0)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
|
28
|
+
DEPENDENCIES
|
29
|
+
grit
|
30
|
+
roodi
|
31
|
+
rspec
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2010, All rights reserved.
|
2
|
+
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
4
|
+
modification, are permitted provided that the following conditions are met:
|
5
|
+
* Redistributions of source code must retain the above copyright
|
6
|
+
notice, this list of conditions and the following disclaimer.
|
7
|
+
* Redistributions in binary form must reproduce the above copyright
|
8
|
+
notice, this list of conditions and the following disclaimer in the
|
9
|
+
documentation and/or other materials provided with the distribution.
|
10
|
+
|
11
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
12
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
13
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
14
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
15
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
16
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
17
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
18
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
19
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
20
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
21
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
22
|
+
|