Mxx_ru 1.6.14.8 → 1.6.14.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8978320133ed39cc39878a67041fdbb7c6c0e96a
4
- data.tar.gz: 716cd0d6f5c7bf5533799fa95545ccd5dd51cfcb
2
+ SHA256:
3
+ metadata.gz: e9d07e2c44752b3e4f1ea25fc8a4cc94a98108fbda433f399ec285d030c5c856
4
+ data.tar.gz: b856c28eb41e4258011f4b72a444e92497a0c25d3de7d71c6b235ac96a8c6a18
5
5
  SHA512:
6
- metadata.gz: 2d30024ab86bb0981a970073d4f14b9c7231dbda8855b059e1a31fcabebf96ece6e000d34bbc57e5812551172a684a6e21c03dced7c771b831a24ddb23888a87
7
- data.tar.gz: 159720d3c2fc4b50a81d43cc08e35457a83c3176ffd95e4c724c7178b5cd048d23a023ea6d3f7d6af4815ca0b527270c69b1fa0c3022c15513b601a1a5cb86e3
6
+ metadata.gz: fb64dcd9b181593de2035a74b778d03d1fba02cc6e4e1c104dcf51733a6b2d7ff16313185450bcf10d05a7594c15797d73a641c054174c629b33a266289b7a45
7
+ data.tar.gz: 90128796f0fc0ce74fc3994008ea71a294807246098785ffd90a62a41ef97b09d91d3fb048132727c328d0c3665fb4ed7d3585438c4c604478b076fb243b3be3
data/bin/mxxruexternals CHANGED
File without changes
data/bin/mxxrugen CHANGED
File without changes
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Copyright (c) 1996-2004, Yauheni Akhotnikau
3
3
  # Copyright (c) 2004-2006, JSC Intervale
4
- # Copyright (c) 2006-2016, The Mxx_ru Project
4
+ # Copyright (c) 2006-2021, The Mxx_ru Project
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -277,6 +277,11 @@ module MxxRu
277
277
  # Since v.1.6.14.3
278
278
  CPP_STD17 = 4
279
279
 
280
+ # C++17 standard.
281
+ #
282
+ # Since v.1.6.14.9
283
+ CPP_STD20 = 5
284
+
280
285
  # Base toolset class.
281
286
  # Toolset is a compiler and tool set for compiling an application.
282
287
  class Toolset
@@ -1043,6 +1048,13 @@ module MxxRu
1043
1048
  set_cpp_std CPP_STD17
1044
1049
  end
1045
1050
 
1051
+ # Set C++20 standard version.
1052
+ #
1053
+ # Since v.1.6.14.9
1054
+ def force_cpp20
1055
+ set_cpp_std CPP_STD20
1056
+ end
1057
+
1046
1058
  # Get the C++ standard version
1047
1059
  attr_reader :cpp_std
1048
1060
 
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Copyright (c) 1996-2004, Yauheni Akhotnikau
3
3
  # Copyright (c) 2004-2006, JSC Intervale
4
- # Copyright (c) 2006-2017, The Mxx_ru Project
4
+ # Copyright (c) 2006-2021, The Mxx_ru Project
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -78,7 +78,9 @@ module MxxRu
78
78
  target.compiler_option( "-I" + p )
79
79
  }
80
80
 
81
- if CPP_STD17 == cpp_std
81
+ if CPP_STD20 == cpp_std
82
+ target.cpp_compiler_option( '-std=c++20' )
83
+ elsif CPP_STD17 == cpp_std
82
84
  target.cpp_compiler_option( '-std=c++17' )
83
85
  elsif CPP_STD14 == cpp_std
84
86
  target.cpp_compiler_option( '-std=c++14' )
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Copyright (c) 1996-2004, Yauheni Akhotnikau
3
3
  # Copyright (c) 2004-2006, JSC Intervale
4
- # Copyright (c) 2006-2015, The Mxx_ru Project
4
+ # Copyright (c) 2006-2021, The Mxx_ru Project
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -103,7 +103,9 @@ module MxxRu
103
103
  target.compiler_option( "-I" + p )
104
104
  }
105
105
 
106
- if CPP_STD17 == cpp_std
106
+ if CPP_STD20 == cpp_std
107
+ target.cpp_compiler_option( '-std=c++20' )
108
+ elsif CPP_STD17 == cpp_std
107
109
  target.cpp_compiler_option( '-std=c++17' )
108
110
  elsif CPP_STD14 == cpp_std
109
111
  target.cpp_compiler_option( '-std=c++14' )
@@ -53,13 +53,15 @@ module MxxRu
53
53
  def setup_mandatory_options( target )
54
54
  super( target )
55
55
 
56
- if CPP_STD17 == cpp_std
56
+ if CPP_STD20 == cpp_std
57
+ target.cpp_compiler_option( '/std:c++20' )
58
+ elsif CPP_STD17 == cpp_std
57
59
  target.cpp_compiler_option( '/std:c++17' )
58
60
  elsif CPP_STD14 == cpp_std
59
61
  target.cpp_compiler_option( '/std:c++14' )
60
62
  end
61
63
  end
62
- end # class Vc15
64
+ end # class Vc16
63
65
 
64
66
  end # module Toolsets
65
67
  end # module Cpp
@@ -1,7 +1,7 @@
1
1
  #--
2
2
  # Copyright (c) 1996-2004, Yauheni Akhotnikau
3
3
  # Copyright (c) 2004-2006, JSC Intervale
4
- # Copyright (c) 2006-2019, The Mxx_ru Project
4
+ # Copyright (c) 2006-2021, The Mxx_ru Project
5
5
  # All rights reserved.
6
6
  #
7
7
  # Redistribution and use in source and binary forms, with or without modification,
@@ -34,4 +34,5 @@
34
34
  #
35
35
  # puts 'Mxx_ru version is: ' + MXX_RU_VERSION
36
36
  #
37
- MXX_RU_VERSION = '1.6.14.8'
37
+ MXX_RU_VERSION = '1.6.14.9'
38
+
@@ -1,3 +1,3 @@
1
- #include <cstdio>
2
-
3
- void A() { std::printf( "A2\n" ); }
1
+ #include <cstdio>
2
+
3
+ void A() { std::printf( "A2\n" ); }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Mxx_ru
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.14.8
4
+ version: 1.6.14.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Mxx_ru Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2021-11-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Mxx_ru is a cross-platform build tool primarily focused to C/C++ projects
14
14
  email: eao197@yahoo.com
@@ -290,10 +290,8 @@ files:
290
290
  - tests/mxx_ru/lib_path/build.rb
291
291
  - tests/mxx_ru/lib_path/bye.c
292
292
  - tests/mxx_ru/lib_path/bye.rb
293
- - tests/mxx_ru/lib_path/bye_lib/bye.lib
294
293
  - tests/mxx_ru/lib_path/hi.c
295
294
  - tests/mxx_ru/lib_path/hi.rb
296
- - tests/mxx_ru/lib_path/hi_lib/hi.lib
297
295
  - tests/mxx_ru/lib_path/main.c
298
296
  - tests/mxx_ru/lib_path/main.rb
299
297
  - tests/mxx_ru/lib_path/tc_lib_path.rb
@@ -359,6 +357,7 @@ files:
359
357
  - tests/unix/lib_linking_mode/main_static_2.cpp
360
358
  - tests/unix/lib_linking_mode/main_static_2.rb
361
359
  - tests/unix/lib_linking_mode/main_static_2.ut.rb
360
+ - tests/unix/lib_linking_mode/o/main_conflict.o
362
361
  - tests/unix/lib_linking_mode/tc_conflicted_build.rb
363
362
  - tests/unix/lib_linking_mode/tc_normal_build.rb
364
363
  - tests/unix/lib_order/a.cpp
@@ -399,7 +398,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
399
398
  version: '0'
400
399
  requirements: []
401
400
  rubyforge_project:
402
- rubygems_version: 2.6.11
401
+ rubygems_version: 2.7.6
403
402
  signing_key:
404
403
  specification_version: 4
405
404
  summary: Mxx_ru (Make++ on Ruby) is a cross-platform build tool
Binary file
Binary file