Mxx_ru 1.2.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/NEWS +38 -0
  2. data/Rakefile +29 -2
  3. data/examples/exe_dll_lib_2/build.rb +4 -1
  4. data/examples/exe_dll_lib_2/inout/prj.rb +1 -1
  5. data/examples/exe_dll_lib_2/main/prj.rb +1 -1
  6. data/examples/exe_dll_lib_2/say/prj.rb +1 -1
  7. data/lib/mxx_ru/abstract_target.rb +71 -49
  8. data/lib/mxx_ru/binary_library.rb +106 -0
  9. data/lib/mxx_ru/binary_target.rb +91 -7
  10. data/lib/mxx_ru/binary_unittest.rb +30 -17
  11. data/lib/mxx_ru/compat.rb +33 -0
  12. data/lib/mxx_ru/cpp/analyzer.rb +16 -9
  13. data/lib/mxx_ru/cpp/composite.rb +24 -13
  14. data/lib/mxx_ru/cpp/detect_toolset.rb +7 -7
  15. data/lib/mxx_ru/cpp/mode.rb +11 -6
  16. data/lib/mxx_ru/cpp/obj_placement.rb +42 -33
  17. data/lib/mxx_ru/cpp/obj_placements/custom_subdir.rb +155 -0
  18. data/lib/mxx_ru/cpp/qt.rb +97 -68
  19. data/lib/mxx_ru/cpp/rucodegen.rb +56 -19
  20. data/lib/mxx_ru/cpp/source_file.rb +14 -6
  21. data/lib/mxx_ru/cpp/target.rb +341 -226
  22. data/lib/mxx_ru/cpp/toolset.rb +188 -145
  23. data/lib/mxx_ru/cpp/toolsets/bcc_win32_5.rb +5 -4
  24. data/lib/mxx_ru/cpp/toolsets/bcc_win32_family.rb +42 -35
  25. data/lib/mxx_ru/cpp/toolsets/c89_etk_nsk.rb +8 -5
  26. data/lib/mxx_ru/cpp/toolsets/c89_nsk.rb +8 -5
  27. data/lib/mxx_ru/cpp/toolsets/c89_nsk_family.rb +24 -20
  28. data/lib/mxx_ru/cpp/toolsets/gcc_cygwin.rb +9 -5
  29. data/lib/mxx_ru/cpp/toolsets/gcc_family.rb +61 -38
  30. data/lib/mxx_ru/cpp/toolsets/gcc_linux.rb +10 -6
  31. data/lib/mxx_ru/cpp/toolsets/gcc_mingw.rb +17 -15
  32. data/lib/mxx_ru/cpp/toolsets/gcc_sparc_solaris.rb +11 -7
  33. data/lib/mxx_ru/cpp/toolsets/gcc_unix_family.rb +84 -0
  34. data/lib/mxx_ru/cpp/toolsets/vc7.rb +4 -4
  35. data/lib/mxx_ru/cpp/toolsets/vc8.rb +33 -30
  36. data/lib/mxx_ru/cpp/toolsets/vc_family.rb +70 -50
  37. data/lib/mxx_ru/cpp.rb +3 -1
  38. data/lib/mxx_ru/ex.rb +44 -13
  39. data/lib/mxx_ru/makestyle_generator.rb +17 -12
  40. data/lib/mxx_ru/textfile_unittest.rb +46 -27
  41. data/lib/mxx_ru/util.rb +51 -26
  42. data/tests/cpp/cpp_sources_glob/tc_cpp_sources_glob.rb +18 -0
  43. data/tests/cpp/mswin_res_dll/tc_mswin_res_dll.rb +18 -0
  44. data/tests/cpp/mswin_res_exe/tc_mswin_res_exe.rb +18 -0
  45. data/tests/cpp/rucodegen/prj.rb +1 -2
  46. data/tests/cpp/rucodegen/tc_rucodegen.rb +18 -0
  47. data/tests/cpp/rucodegen.embedded/host_config.cpp +32 -0
  48. data/tests/cpp/rucodegen.embedded/impl/conn_params.cpp +7 -0
  49. data/tests/cpp/rucodegen.embedded/impl/conn_params.rb +14 -0
  50. data/tests/cpp/rucodegen.embedded/impl/h/conn_params.hpp +10 -0
  51. data/tests/cpp/rucodegen.embedded/prj.rb +16 -0
  52. data/tests/cpp/rucodegen.embedded/tc_rucodegen.rb +18 -0
  53. data/tests/cpp/textfile_unittest/tc_textfile_unittest.rb +18 -0
  54. data/tests/cpp/vc_cleanup/tc_vc_cleanup.rb +7 -44
  55. data/tests/mxx_ru/binary_library/tc_binary_library.rb +57 -0
  56. data/tests/mxx_ru/binary_library/tc_binary_target_lib_methods.rb +114 -0
  57. data/tests/mxx_ru/lib_path/build.rb +8 -0
  58. data/tests/mxx_ru/lib_path/bye.c +3 -0
  59. data/tests/mxx_ru/lib_path/bye.rb +8 -0
  60. data/tests/mxx_ru/lib_path/hi.c +3 -0
  61. data/tests/mxx_ru/lib_path/hi.rb +8 -0
  62. data/tests/mxx_ru/lib_path/main.c +9 -0
  63. data/tests/mxx_ru/lib_path/main.rb +12 -0
  64. data/tests/mxx_ru/lib_path/tc_lib_path.rb +18 -0
  65. data/tests/mxx_ru/obj_placements/tc_custom_subdir.rb +58 -0
  66. data/tests/mxx_ru/opt_lib_ext/build.rb +7 -0
  67. data/tests/mxx_ru/opt_lib_ext/hi.c +3 -0
  68. data/tests/mxx_ru/opt_lib_ext/hi.h +1 -0
  69. data/tests/mxx_ru/opt_lib_ext/hi.rb +7 -0
  70. data/tests/mxx_ru/opt_lib_ext/main.c +7 -0
  71. data/tests/mxx_ru/opt_lib_ext/tc_opt_lib_ext.rb +18 -0
  72. data/tests/mxx_ru/opt_lib_ext/test-no-ext.rb +9 -0
  73. data/tests/mxx_ru/opt_lib_ext/test-with-ext.rb +13 -0
  74. data/tests/mxx_ru/qt_gen/tc_uic_result_subdir.rb +76 -0
  75. data/tests/mxx_ru/target_ext/dll_hi.cpp +1 -0
  76. data/tests/mxx_ru/target_ext/exe_hi.cpp +4 -0
  77. data/tests/mxx_ru/target_ext/lib_hi.cpp +1 -0
  78. data/tests/mxx_ru/target_ext/prj_dll.rb +8 -0
  79. data/tests/mxx_ru/target_ext/prj_exe.rb +8 -0
  80. data/tests/mxx_ru/target_ext/prj_lib.rb +8 -0
  81. data/tests/mxx_ru/target_ext/tc_target_ext.rb +24 -0
  82. data/tests/qt/toplevel/prj.rb +1 -0
  83. data/tests/test_with_compilation.rb +110 -0
  84. data/tests/unix/lib_linking_mode/a.hpp +12 -0
  85. data/tests/unix/lib_linking_mode/a_shared.cpp +8 -0
  86. data/tests/unix/lib_linking_mode/a_shared.rb +7 -0
  87. data/tests/unix/lib_linking_mode/a_static.cpp +7 -0
  88. data/tests/unix/lib_linking_mode/a_static.rb +7 -0
  89. data/tests/unix/lib_linking_mode/etalon/shared.txt +2 -0
  90. data/tests/unix/lib_linking_mode/etalon/static.txt +2 -0
  91. data/tests/unix/lib_linking_mode/main.impl.cpp +7 -0
  92. data/tests/unix/lib_linking_mode/main_conflict.cpp +2 -0
  93. data/tests/unix/lib_linking_mode/main_conflict.rb +12 -0
  94. data/tests/unix/lib_linking_mode/main_conflict_2.rb +11 -0
  95. data/tests/unix/lib_linking_mode/main_shared.cpp +2 -0
  96. data/tests/unix/lib_linking_mode/main_shared.rb +9 -0
  97. data/tests/unix/lib_linking_mode/main_shared.ut.rb +11 -0
  98. data/tests/unix/lib_linking_mode/main_shared_2.cpp +2 -0
  99. data/tests/unix/lib_linking_mode/main_shared_2.rb +10 -0
  100. data/tests/unix/lib_linking_mode/main_shared_2.ut.rb +11 -0
  101. data/tests/unix/lib_linking_mode/main_static.cpp +2 -0
  102. data/tests/unix/lib_linking_mode/main_static.rb +9 -0
  103. data/tests/unix/lib_linking_mode/main_static.ut.rb +11 -0
  104. data/tests/unix/lib_linking_mode/main_static_2.cpp +2 -0
  105. data/tests/unix/lib_linking_mode/main_static_2.rb +10 -0
  106. data/tests/unix/lib_linking_mode/main_static_2.ut.rb +11 -0
  107. data/tests/unix/lib_linking_mode/tc_conflicted_build.rb +18 -0
  108. data/tests/unix/lib_linking_mode/tc_normal_build.rb +18 -0
  109. metadata +90 -11
  110. data/tests/cpp/vc_cleanup/cout.log +0 -72
  111. data/tests/qt/toplevel/options.ui.h +0 -98
@@ -0,0 +1,8 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::dll_target {
4
+ target 'custom_ext'
5
+ target_ext '.dynamic'
6
+
7
+ cpp_source 'dll_hi.cpp'
8
+ }
@@ -0,0 +1,8 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'custom_ext'
5
+ target_ext '.executable'
6
+
7
+ cpp_source 'exe_hi.cpp'
8
+ }
@@ -0,0 +1,8 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::lib_target {
4
+ target 'custom_ext'
5
+ target_ext '.static'
6
+
7
+ cpp_source 'lib_hi.cpp'
8
+ }
@@ -0,0 +1,24 @@
1
+ require 'test/unit'
2
+
3
+ require File.dirname( __FILE__ ) + '/../../test_with_compilation'
4
+
5
+ class TC_TargetExt < Test::Unit::TestCase
6
+ include TestWithCompilation
7
+
8
+ test_path 'tests/mxx_ru/target_ext'
9
+
10
+ test_case :cleanup do
11
+ project_files = Dir[ 'prj_*.rb' ]
12
+
13
+ build( *project_files )
14
+
15
+ result_files = Dir.glob( "**/*custom_ext.{static,dynamic,executable}" )
16
+
17
+ # One file for each type of target must exists.
18
+ assert_equal( 3, result_files.size )
19
+
20
+ clean( *project_files )
21
+ end
22
+
23
+ end
24
+
@@ -11,6 +11,7 @@ Mxx_ru::setup_target(
11
11
  qt = generator( Mxx_ru::Cpp::Qt_gen.new( self ) )
12
12
  qt.moc_result_subdir = nil
13
13
  qt.hpp_ext = ".h"
14
+ qt.uic_result_subdir = 'u'
14
15
 
15
16
  qt.ui( "options.ui" )
16
17
 
@@ -0,0 +1,110 @@
1
+ require 'test/unit'
2
+
3
+ # Base class for Unit Test these required building some targets.
4
+ #
5
+ # Sample usage:
6
+ # class TC_LibPath < Test::Unit::TestCase
7
+ # include TestWithCompilation
8
+ #
9
+ # test_path 'tests/lib/lib_path'
10
+ #
11
+ # test_case :link do
12
+ # assert_nothing_raised {
13
+ # build 'build.rb'
14
+ # clean 'build.rb'
15
+ # }
16
+ # end
17
+ #
18
+ # test_case :unsuccesful_build do
19
+ # assert_nothing_raised {
20
+ # build_failure 'build.rb'
21
+ # }
22
+ # end
23
+ # end
24
+ #
25
+ module TestWithCompilation
26
+
27
+ def init_compilation_params( path_name )
28
+ @path_name = path_name
29
+ @lib_path = '../' * (path_name.count( '/' ) + 1) + 'lib'
30
+ @need_change_cwd = File.exists?( path_name )
31
+ end
32
+
33
+ def build( *project_files )
34
+ # Running all projects to build targets.
35
+ project_files.each do |prj|
36
+ command = "ruby -I#{@lib_path} #{prj}"
37
+ run_and_check_command( command )
38
+ end
39
+ end
40
+
41
+ def build_failure( *project_files )
42
+ # Running all projects to build targets.
43
+ project_files.each do |prj|
44
+ command = "ruby -I#{@lib_path} #{prj}"
45
+ run_and_check_command_failure( command )
46
+ end
47
+ end
48
+
49
+ def clean( *project_files )
50
+ # Running all projects to clean up targets.
51
+ project_files.each do |prj|
52
+ command = "ruby -I#{@lib_path} #{prj} --mxx-clean"
53
+ run_and_check_command( command )
54
+ end
55
+ end
56
+
57
+ def run_and_check_command( command )
58
+ started = system( command )
59
+ assert(
60
+ started && $?.exitstatus == 0,
61
+ "some problems in running #{command}: " +
62
+ "started: #{started}, exit status: #{$?}" )
63
+ end
64
+
65
+ def run_and_check_command_failure( command )
66
+ started = system( command )
67
+ assert(
68
+ !started && $?.exitstatus != 0,
69
+ "command '#{command}' expected to fail" )
70
+ end
71
+
72
+ def TestWithCompilation.included( mod )
73
+ mod.instance_eval %Q{
74
+ def test_path( path )
75
+ send :define_method, :initialize do |test_case_name|
76
+ super test_case_name
77
+ init_compilation_params path
78
+ end
79
+ end
80
+
81
+ def test_case( case_name, &block )
82
+ send :define_method, "test_" + case_name.to_s do
83
+ if @need_change_cwd
84
+ Dir.chdir( @path_name ) do
85
+ instance_eval &block
86
+ end
87
+ else
88
+ instance_eval &block
89
+ end
90
+ end
91
+ end
92
+ }
93
+ end
94
+
95
+ end
96
+
97
+ if $0 == __FILE__
98
+ class TC_Check < Test::Unit::TestCase
99
+ include TestWithCompilation
100
+
101
+ test_path 'tests'
102
+
103
+ test_case :check_attrs do
104
+ assert_equal( 'tests', @path_name )
105
+ assert_equal( 'lib', @lib_path )
106
+ assert_equal( false, @need_change_cwd )
107
+ end
108
+ end
109
+ end
110
+
@@ -0,0 +1,12 @@
1
+ #if !defined( A_HPP )
2
+ #define A_HPP
3
+
4
+ class A
5
+ {
6
+ public :
7
+ A();
8
+ ~A();
9
+ };
10
+
11
+ #endif
12
+
@@ -0,0 +1,8 @@
1
+ #include "a.hpp"
2
+
3
+ #include <iostream>
4
+
5
+ A::A() { std::cout << "A::A [shared]" << std::endl; }
6
+ A::~A() { std::cout << "A::~A [shared]" << std::endl; }
7
+
8
+
@@ -0,0 +1,7 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::dll_target {
4
+ target 'a'
5
+ cpp_source 'a_shared.cpp'
6
+ }
7
+
@@ -0,0 +1,7 @@
1
+ #include "a.hpp"
2
+
3
+ #include <iostream>
4
+
5
+ A::A() { std::cout << "A::A [static]" << std::endl; }
6
+ A::~A() { std::cout << "A::~A [static]" << std::endl; }
7
+
@@ -0,0 +1,7 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::lib_target {
4
+ target 'a'
5
+ cpp_source 'a_static.cpp'
6
+ }
7
+
@@ -0,0 +1,2 @@
1
+ A::A [shared]
2
+ A::~A [shared]
@@ -0,0 +1,2 @@
1
+ A::A [static]
2
+ A::~A [static]
@@ -0,0 +1,7 @@
1
+ #include "a.hpp"
2
+
3
+ int main()
4
+ {
5
+ A a;
6
+ }
7
+
@@ -0,0 +1,2 @@
1
+ #include "main.impl.cpp"
2
+
@@ -0,0 +1,12 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'main_conflict'
5
+
6
+ required_prj 'a_static.rb'
7
+ required_prj 'a_shared.rb'
8
+
9
+ cpp_source 'main_conflict.cpp'
10
+ }
11
+
12
+
@@ -0,0 +1,11 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'main_conflict_2'
5
+
6
+ cpp_source 'main_conflict.cpp'
7
+
8
+ lib_static 'a'
9
+ lib_shared 'a'
10
+ }
11
+
@@ -0,0 +1,2 @@
1
+ #include "main.impl.cpp"
2
+
@@ -0,0 +1,9 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'main_shared'
5
+ cpp_source 'main_shared.cpp'
6
+
7
+ lib_shared( 'a', '.' )
8
+ }
9
+
@@ -0,0 +1,11 @@
1
+ require 'mxx_ru/cpp'
2
+ require 'mxx_ru/textfile_unittest'
3
+
4
+ Mxx_ru::setup_target( Mxx_ru::Textfile_unittest_target.new(
5
+ 'main_shared.ut.rb',
6
+ 'main_shared.rb' ) {
7
+
8
+ launch ' > out/shared.txt',
9
+ [ pair( 'out/shared.txt', 'etalon/shared.txt' ) ]
10
+ })
11
+
@@ -0,0 +1,2 @@
1
+ #include "main.impl.cpp"
2
+
@@ -0,0 +1,10 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'main_shared_2'
5
+
6
+ required_prj 'a_shared.rb'
7
+
8
+ cpp_source 'main_shared_2.cpp'
9
+ }
10
+
@@ -0,0 +1,11 @@
1
+ require 'mxx_ru/cpp'
2
+ require 'mxx_ru/textfile_unittest'
3
+
4
+ Mxx_ru::setup_target( Mxx_ru::Textfile_unittest_target.new(
5
+ 'main_shared_2.ut.rb',
6
+ 'main_shared_2.rb' ) {
7
+
8
+ launch ' > out/shared.txt',
9
+ [ pair( 'out/shared.txt', 'etalon/shared.txt' ) ]
10
+ })
11
+
@@ -0,0 +1,2 @@
1
+ #include "main.impl.cpp"
2
+
@@ -0,0 +1,9 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'main_static'
5
+ cpp_source 'main_static.cpp'
6
+
7
+ lib_static( 'a', '.' )
8
+ }
9
+
@@ -0,0 +1,11 @@
1
+ require 'mxx_ru/cpp'
2
+ require 'mxx_ru/textfile_unittest'
3
+
4
+ Mxx_ru::setup_target( Mxx_ru::Textfile_unittest_target.new(
5
+ 'main_static.ut.rb',
6
+ 'main_static.rb' ) {
7
+
8
+ launch ' > out/static.txt',
9
+ [ pair( 'out/static.txt', 'etalon/static.txt' ) ]
10
+ })
11
+
@@ -0,0 +1,2 @@
1
+ #include "main.impl.cpp"
2
+
@@ -0,0 +1,10 @@
1
+ require 'mxx_ru/cpp'
2
+
3
+ Mxx_ru::Cpp::exe_target {
4
+ target 'main_static_2'
5
+
6
+ required_prj 'a_static.rb'
7
+
8
+ cpp_source 'main_static_2.cpp'
9
+ }
10
+
@@ -0,0 +1,11 @@
1
+ require 'mxx_ru/cpp'
2
+ require 'mxx_ru/textfile_unittest'
3
+
4
+ Mxx_ru::setup_target( Mxx_ru::Textfile_unittest_target.new(
5
+ 'main_static_2.ut.rb',
6
+ 'main_static_2.rb' ) {
7
+
8
+ launch ' > out/static.txt',
9
+ [ pair( 'out/static.txt', 'etalon/static.txt' ) ]
10
+ })
11
+
@@ -0,0 +1,18 @@
1
+ require 'test/unit'
2
+
3
+ require File.dirname( __FILE__ ) + '/../../test_with_compilation'
4
+
5
+ class TC_ConflictedBuild < Test::Unit::TestCase
6
+ include TestWithCompilation
7
+
8
+ test_path 'tests/unix/lib_linking_mode'
9
+
10
+ test_case :explicit_lib_specification do
11
+ build_failure 'main_conflict.rb'
12
+ end
13
+
14
+ test_case :required_prj_specification do
15
+ build_failure 'main_conflict_2.rb'
16
+ end
17
+ end
18
+
@@ -0,0 +1,18 @@
1
+ require 'test/unit'
2
+
3
+ require File.dirname( __FILE__ ) + '/../../test_with_compilation'
4
+
5
+ class TC_NormalBuild < Test::Unit::TestCase
6
+ include TestWithCompilation
7
+
8
+ test_path 'tests/unix/lib_linking_mode'
9
+
10
+ test_case :successful_build do
11
+ tests = [ 'a_static.rb', 'a_shared.rb',
12
+ 'main_static.ut.rb', 'main_shared.ut.rb',
13
+ 'main_static_2.ut.rb', 'main_shared_2.ut.rb' ]
14
+ build *tests
15
+ clean *tests
16
+ end
17
+ end
18
+
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: Mxx_ru
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.2.1
7
- date: 2006-04-27
6
+ version: 1.3.0
7
+ date: 2006-05-30
8
8
  summary: Mxx_ru (Make++ on Ruby) is a cross-platform build tool
9
9
  require_paths:
10
10
  - lib
@@ -31,6 +31,8 @@ files:
31
31
  - tests/cpp
32
32
  - tests/mxx_ru
33
33
  - tests/qt
34
+ - tests/test_with_compilation.rb
35
+ - tests/unix
34
36
  - tests/c/pcre
35
37
  - tests/c/pcre/chartables.c
36
38
  - tests/c/pcre/config.h
@@ -56,11 +58,13 @@ files:
56
58
  - tests/cpp/mswin_res_exe
57
59
  - tests/cpp/o
58
60
  - tests/cpp/rucodegen
61
+ - tests/cpp/rucodegen.embedded
59
62
  - tests/cpp/textfile_unittest
60
63
  - tests/cpp/toolset_name.rb
61
64
  - tests/cpp/vc_cleanup
62
65
  - tests/cpp/cpp_sources_glob/build.rb
63
66
  - tests/cpp/cpp_sources_glob/some
67
+ - tests/cpp/cpp_sources_glob/tc_cpp_sources_glob.rb
64
68
  - tests/cpp/cpp_sources_glob/some/module
65
69
  - tests/cpp/cpp_sources_glob/some/module/1
66
70
  - tests/cpp/cpp_sources_glob/some/module/2
@@ -68,16 +72,11 @@ files:
68
72
  - tests/cpp/cpp_sources_glob/some/module/4
69
73
  - tests/cpp/cpp_sources_glob/some/module/funcs.hpp
70
74
  - tests/cpp/cpp_sources_glob/some/module/main.cpp
71
- - tests/cpp/cpp_sources_glob/some/module/o
72
75
  - tests/cpp/cpp_sources_glob/some/module/prj.rb
73
76
  - tests/cpp/cpp_sources_glob/some/module/1/f1.cpp
74
- - tests/cpp/cpp_sources_glob/some/module/1/o
75
77
  - tests/cpp/cpp_sources_glob/some/module/2/f2.cpp
76
- - tests/cpp/cpp_sources_glob/some/module/2/o
77
78
  - tests/cpp/cpp_sources_glob/some/module/3/f3.cpp
78
- - tests/cpp/cpp_sources_glob/some/module/3/o
79
79
  - tests/cpp/cpp_sources_glob/some/module/4/f4.cpp
80
- - tests/cpp/cpp_sources_glob/some/module/4/o
81
80
  - tests/cpp/mswin_res_dll/build.rb
82
81
  - tests/cpp/mswin_res_dll/dll.cpp
83
82
  - tests/cpp/mswin_res_dll/dll.rb
@@ -87,6 +86,7 @@ files:
87
86
  - tests/cpp/mswin_res_dll/main.rb
88
87
  - tests/cpp/mswin_res_dll/o
89
88
  - tests/cpp/mswin_res_dll/res
89
+ - tests/cpp/mswin_res_dll/tc_mswin_res_dll.rb
90
90
  - tests/cpp/mswin_res_dll/h/dll.hpp
91
91
  - tests/cpp/mswin_res_dll/h/res.h
92
92
  - tests/cpp/mswin_res_dll/res/tree_fol.bmp
@@ -98,6 +98,7 @@ files:
98
98
  - tests/cpp/mswin_res_exe/main.rc
99
99
  - tests/cpp/mswin_res_exe/o
100
100
  - tests/cpp/mswin_res_exe/res
101
+ - tests/cpp/mswin_res_exe/tc_mswin_res_exe.rb
101
102
  - tests/cpp/mswin_res_exe/h/res.h
102
103
  - tests/cpp/mswin_res_exe/res/tree_fol.bmp
103
104
  - tests/cpp/mswin_res_exe/res/tree_state_1.bmp
@@ -108,21 +109,33 @@ files:
108
109
  - tests/cpp/rucodegen/impl
109
110
  - tests/cpp/rucodegen/o
110
111
  - tests/cpp/rucodegen/prj.rb
112
+ - tests/cpp/rucodegen/tc_rucodegen.rb
111
113
  - tests/cpp/rucodegen/impl/conn_params.cpp
112
114
  - tests/cpp/rucodegen/impl/conn_params.rb
113
115
  - tests/cpp/rucodegen/impl/h
114
116
  - tests/cpp/rucodegen/impl/o
115
117
  - tests/cpp/rucodegen/impl/h/conn_params.hpp
118
+ - tests/cpp/rucodegen.embedded/h
119
+ - tests/cpp/rucodegen.embedded/host_config.cpp
120
+ - tests/cpp/rucodegen.embedded/impl
121
+ - tests/cpp/rucodegen.embedded/o
122
+ - tests/cpp/rucodegen.embedded/prj.rb
123
+ - tests/cpp/rucodegen.embedded/tc_rucodegen.rb
124
+ - tests/cpp/rucodegen.embedded/impl/conn_params.cpp
125
+ - tests/cpp/rucodegen.embedded/impl/conn_params.rb
126
+ - tests/cpp/rucodegen.embedded/impl/h
127
+ - tests/cpp/rucodegen.embedded/impl/o
128
+ - tests/cpp/rucodegen.embedded/impl/h/conn_params.hpp
116
129
  - tests/cpp/textfile_unittest/build.rb
117
130
  - tests/cpp/textfile_unittest/etalons
118
131
  - tests/cpp/textfile_unittest/main.cpp
119
132
  - tests/cpp/textfile_unittest/o
120
133
  - tests/cpp/textfile_unittest/prj.rb
121
134
  - tests/cpp/textfile_unittest/prj.ut.rb
135
+ - tests/cpp/textfile_unittest/tc_textfile_unittest.rb
122
136
  - tests/cpp/textfile_unittest/etalons/out_0.txt
123
137
  - tests/cpp/textfile_unittest/etalons/out_1.txt
124
138
  - tests/cpp/textfile_unittest/etalons/out_128.txt
125
- - tests/cpp/vc_cleanup/cout.log
126
139
  - tests/cpp/vc_cleanup/dll_hi.cpp
127
140
  - tests/cpp/vc_cleanup/exe_hi.cpp
128
141
  - tests/cpp/vc_cleanup/lib
@@ -139,10 +152,18 @@ files:
139
152
  - tests/cpp/vc_cleanup/simple_target_root
140
153
  - tests/cpp/vc_cleanup/tc_vc_cleanup.rb
141
154
  - tests/cpp/vc_cleanup/lib/simple_target_root
155
+ - tests/mxx_ru/binary_library
142
156
  - tests/mxx_ru/change_default_value
157
+ - tests/mxx_ru/lib_path
158
+ - tests/mxx_ru/obj_placements
159
+ - tests/mxx_ru/opt_lib_ext
143
160
  - tests/mxx_ru/plural_form_methods
161
+ - tests/mxx_ru/qt_gen
162
+ - tests/mxx_ru/target_ext
144
163
  - tests/mxx_ru/tc_makestyle_generator.rb
145
164
  - tests/mxx_ru/vc8
165
+ - tests/mxx_ru/binary_library/tc_binary_library.rb
166
+ - tests/mxx_ru/binary_library/tc_binary_target_lib_methods.rb
146
167
  - tests/mxx_ru/change_default_value/ignoring_by_build_root
147
168
  - tests/mxx_ru/change_default_value/ignoring_by_child_1
148
169
  - tests/mxx_ru/change_default_value/ok
@@ -153,7 +174,34 @@ files:
153
174
  - tests/mxx_ru/change_default_value/ignoring_by_child_1/child_2.rb
154
175
  - tests/mxx_ru/change_default_value/ok/build.rb
155
176
  - tests/mxx_ru/change_default_value/ok/child_1.rb
177
+ - tests/mxx_ru/lib_path/build.rb
178
+ - tests/mxx_ru/lib_path/bye.c
179
+ - tests/mxx_ru/lib_path/bye.rb
180
+ - tests/mxx_ru/lib_path/bye_lib
181
+ - tests/mxx_ru/lib_path/hi.c
182
+ - tests/mxx_ru/lib_path/hi.rb
183
+ - tests/mxx_ru/lib_path/hi_lib
184
+ - tests/mxx_ru/lib_path/main.c
185
+ - tests/mxx_ru/lib_path/main.rb
186
+ - tests/mxx_ru/lib_path/tc_lib_path.rb
187
+ - tests/mxx_ru/obj_placements/tc_custom_subdir.rb
188
+ - tests/mxx_ru/opt_lib_ext/build.rb
189
+ - tests/mxx_ru/opt_lib_ext/hi.c
190
+ - tests/mxx_ru/opt_lib_ext/hi.h
191
+ - tests/mxx_ru/opt_lib_ext/hi.rb
192
+ - tests/mxx_ru/opt_lib_ext/main.c
193
+ - tests/mxx_ru/opt_lib_ext/tc_opt_lib_ext.rb
194
+ - tests/mxx_ru/opt_lib_ext/test-no-ext.rb
195
+ - tests/mxx_ru/opt_lib_ext/test-with-ext.rb
156
196
  - tests/mxx_ru/plural_form_methods/tc.rb
197
+ - tests/mxx_ru/qt_gen/tc_uic_result_subdir.rb
198
+ - tests/mxx_ru/target_ext/dll_hi.cpp
199
+ - tests/mxx_ru/target_ext/exe_hi.cpp
200
+ - tests/mxx_ru/target_ext/lib_hi.cpp
201
+ - tests/mxx_ru/target_ext/prj_dll.rb
202
+ - tests/mxx_ru/target_ext/prj_exe.rb
203
+ - tests/mxx_ru/target_ext/prj_lib.rb
204
+ - tests/mxx_ru/target_ext/tc_target_ext.rb
157
205
  - tests/mxx_ru/vc8/tc_actual_manifest.rb
158
206
  - tests/mxx_ru/vc8/tc_append_mt_commands.rb
159
207
  - tests/mxx_ru/vc8/tc_default_manifest.rb
@@ -167,19 +215,47 @@ files:
167
215
  - tests/qt/aclock/aclock.cpp
168
216
  - tests/qt/aclock/aclock.h
169
217
  - tests/qt/aclock/main.cpp
170
- - tests/qt/aclock/o
171
218
  - tests/qt/aclock/prj.rb
172
219
  - tests/qt/iconview/main.cpp
173
220
  - tests/qt/iconview/prj.rb
174
221
  - tests/qt/toplevel/main.cpp
175
- - tests/qt/toplevel/o
176
222
  - tests/qt/toplevel/options.ui
177
- - tests/qt/toplevel/options.ui.h
178
223
  - tests/qt/toplevel/prj.rb
224
+ - tests/unix/lib_linking_mode
225
+ - tests/unix/lib_linking_mode/a.hpp
226
+ - tests/unix/lib_linking_mode/a_shared.cpp
227
+ - tests/unix/lib_linking_mode/a_shared.rb
228
+ - tests/unix/lib_linking_mode/a_static.cpp
229
+ - tests/unix/lib_linking_mode/a_static.rb
230
+ - tests/unix/lib_linking_mode/etalon
231
+ - tests/unix/lib_linking_mode/main.impl.cpp
232
+ - tests/unix/lib_linking_mode/main_conflict.cpp
233
+ - tests/unix/lib_linking_mode/main_conflict.rb
234
+ - tests/unix/lib_linking_mode/main_conflict_2.rb
235
+ - tests/unix/lib_linking_mode/main_shared.cpp
236
+ - tests/unix/lib_linking_mode/main_shared.rb
237
+ - tests/unix/lib_linking_mode/main_shared.ut.rb
238
+ - tests/unix/lib_linking_mode/main_shared_2.cpp
239
+ - tests/unix/lib_linking_mode/main_shared_2.rb
240
+ - tests/unix/lib_linking_mode/main_shared_2.ut.rb
241
+ - tests/unix/lib_linking_mode/main_static.cpp
242
+ - tests/unix/lib_linking_mode/main_static.rb
243
+ - tests/unix/lib_linking_mode/main_static.ut.rb
244
+ - tests/unix/lib_linking_mode/main_static_2.cpp
245
+ - tests/unix/lib_linking_mode/main_static_2.rb
246
+ - tests/unix/lib_linking_mode/main_static_2.ut.rb
247
+ - tests/unix/lib_linking_mode/o
248
+ - tests/unix/lib_linking_mode/out
249
+ - tests/unix/lib_linking_mode/tc_conflicted_build.rb
250
+ - tests/unix/lib_linking_mode/tc_normal_build.rb
251
+ - tests/unix/lib_linking_mode/etalon/shared.txt
252
+ - tests/unix/lib_linking_mode/etalon/static.txt
179
253
  - lib/mxx_ru
180
254
  - lib/mxx_ru/abstract_target.rb
255
+ - lib/mxx_ru/binary_library.rb
181
256
  - lib/mxx_ru/binary_target.rb
182
257
  - lib/mxx_ru/binary_unittest.rb
258
+ - lib/mxx_ru/compat.rb
183
259
  - lib/mxx_ru/cpp
184
260
  - lib/mxx_ru/cpp.rb
185
261
  - lib/mxx_ru/ex.rb
@@ -191,12 +267,14 @@ files:
191
267
  - lib/mxx_ru/cpp/detect_toolset.rb
192
268
  - lib/mxx_ru/cpp/mode.rb
193
269
  - lib/mxx_ru/cpp/obj_placement.rb
270
+ - lib/mxx_ru/cpp/obj_placements
194
271
  - lib/mxx_ru/cpp/qt.rb
195
272
  - lib/mxx_ru/cpp/rucodegen.rb
196
273
  - lib/mxx_ru/cpp/source_file.rb
197
274
  - lib/mxx_ru/cpp/target.rb
198
275
  - lib/mxx_ru/cpp/toolset.rb
199
276
  - lib/mxx_ru/cpp/toolsets
277
+ - lib/mxx_ru/cpp/obj_placements/custom_subdir.rb
200
278
  - lib/mxx_ru/cpp/toolsets/bcc_win32_5.rb
201
279
  - lib/mxx_ru/cpp/toolsets/bcc_win32_family.rb
202
280
  - lib/mxx_ru/cpp/toolsets/c89_etk_nsk.rb
@@ -207,6 +285,7 @@ files:
207
285
  - lib/mxx_ru/cpp/toolsets/gcc_linux.rb
208
286
  - lib/mxx_ru/cpp/toolsets/gcc_mingw.rb
209
287
  - lib/mxx_ru/cpp/toolsets/gcc_sparc_solaris.rb
288
+ - lib/mxx_ru/cpp/toolsets/gcc_unix_family.rb
210
289
  - lib/mxx_ru/cpp/toolsets/vc7.rb
211
290
  - lib/mxx_ru/cpp/toolsets/vc8.rb
212
291
  - lib/mxx_ru/cpp/toolsets/vc_family.rb