Mxx_ru 1.6.14.6 → 1.6.14.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/mxx_ru/cpp/detect_toolset.rb +2 -0
- data/lib/mxx_ru/cpp/toolsets/vc16.rb +69 -0
- data/lib/mxx_ru/version.rb +1 -1
- data/tests/cpp/lib_from_lib_dependecies/a.cpp +3 -3
- data/tests/mxx_ru/lib_path/bye_lib/bye.lib +0 -0
- data/tests/mxx_ru/lib_path/hi_lib/hi.lib +0 -0
- metadata +6 -4
- data/tests/unix/lib_linking_mode/o/main_conflict.o +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 8978320133ed39cc39878a67041fdbb7c6c0e96a
|
|
4
|
+
data.tar.gz: 716cd0d6f5c7bf5533799fa95545ccd5dd51cfcb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d30024ab86bb0981a970073d4f14b9c7231dbda8855b059e1a31fcabebf96ece6e000d34bbc57e5812551172a684a6e21c03dced7c771b831a24ddb23888a87
|
|
7
|
+
data.tar.gz: 159720d3c2fc4b50a81d43cc08e35457a83c3176ffd95e4c724c7178b5cd048d23a023ea6d3f7d6af4815ca0b527270c69b1fa0c3022c15513b601a1a5cb86e3
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Copyright (c) 1996-2004, Yauheni Akhotnikau
|
|
3
|
+
# Copyright (c) 2004-2006, JSC Intervale
|
|
4
|
+
# Copyright (c) 2006-2019, The Mxx_ru Project
|
|
5
|
+
# All rights reserved.
|
|
6
|
+
#
|
|
7
|
+
# Redistribution and use in source and binary forms, with or without modification,
|
|
8
|
+
# are permitted provided that the following conditions are met:
|
|
9
|
+
#
|
|
10
|
+
# 1. Redistributions of source code must retain the above copyright notice,
|
|
11
|
+
# this list of conditions and the following disclaimer.
|
|
12
|
+
# 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
# this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
# and/or other materials provided with the distribution.
|
|
15
|
+
# 3. The name of the author may not be used to endorse or promote products derived
|
|
16
|
+
# from this software without specific prior written permission.
|
|
17
|
+
#
|
|
18
|
+
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
|
19
|
+
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
20
|
+
# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
|
|
21
|
+
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
22
|
+
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
23
|
+
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
24
|
+
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
25
|
+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
26
|
+
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
27
|
+
#++
|
|
28
|
+
|
|
29
|
+
require 'ostruct'
|
|
30
|
+
require 'set'
|
|
31
|
+
|
|
32
|
+
require 'mxx_ru/cpp/target'
|
|
33
|
+
require 'mxx_ru/cpp/toolsets/vc8_family'
|
|
34
|
+
|
|
35
|
+
module MxxRu
|
|
36
|
+
module Cpp
|
|
37
|
+
module Toolsets
|
|
38
|
+
|
|
39
|
+
# Toolset implementation for Visual C++ 15.0 (Visual Studio 2017)
|
|
40
|
+
#
|
|
41
|
+
# Setups following tags:
|
|
42
|
+
# [_ver_hi_] high version number. Value: 15.
|
|
43
|
+
# [_ver_lo_] low version number. Value: 0.
|
|
44
|
+
class Vc16 < MxxRu::Cpp::Toolsets::Vc8Family
|
|
45
|
+
def initialize( a_name = "vc" )
|
|
46
|
+
super( a_name )
|
|
47
|
+
|
|
48
|
+
setup_tag( "ver_hi", "16" )
|
|
49
|
+
setup_tag( "ver_lo", "0" )
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# See description at MxxRu::Cpp::Toolset#setup_mandatory_options.
|
|
53
|
+
def setup_mandatory_options( target )
|
|
54
|
+
super( target )
|
|
55
|
+
|
|
56
|
+
if CPP_STD17 == cpp_std
|
|
57
|
+
target.cpp_compiler_option( '/std:c++17' )
|
|
58
|
+
elsif CPP_STD14 == cpp_std
|
|
59
|
+
target.cpp_compiler_option( '/std:c++14' )
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end # class Vc15
|
|
63
|
+
|
|
64
|
+
end # module Toolsets
|
|
65
|
+
end # module Cpp
|
|
66
|
+
end # module MxxRu
|
|
67
|
+
|
|
68
|
+
MxxRu::Cpp::setup_toolset( MxxRu::Cpp::Toolsets::Vc16.new )
|
|
69
|
+
|
data/lib/mxx_ru/version.rb
CHANGED
|
@@ -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" ); }
|
|
Binary file
|
|
Binary file
|
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.
|
|
4
|
+
version: 1.6.14.8
|
|
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-
|
|
11
|
+
date: 2019-05-02 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
|
|
@@ -117,6 +117,7 @@ files:
|
|
|
117
117
|
- lib/mxx_ru/cpp/toolsets/vc12.rb
|
|
118
118
|
- lib/mxx_ru/cpp/toolsets/vc14.rb
|
|
119
119
|
- lib/mxx_ru/cpp/toolsets/vc15.rb
|
|
120
|
+
- lib/mxx_ru/cpp/toolsets/vc16.rb
|
|
120
121
|
- lib/mxx_ru/cpp/toolsets/vc7.rb
|
|
121
122
|
- lib/mxx_ru/cpp/toolsets/vc8.rb
|
|
122
123
|
- lib/mxx_ru/cpp/toolsets/vc8_family.rb
|
|
@@ -289,8 +290,10 @@ files:
|
|
|
289
290
|
- tests/mxx_ru/lib_path/build.rb
|
|
290
291
|
- tests/mxx_ru/lib_path/bye.c
|
|
291
292
|
- tests/mxx_ru/lib_path/bye.rb
|
|
293
|
+
- tests/mxx_ru/lib_path/bye_lib/bye.lib
|
|
292
294
|
- tests/mxx_ru/lib_path/hi.c
|
|
293
295
|
- tests/mxx_ru/lib_path/hi.rb
|
|
296
|
+
- tests/mxx_ru/lib_path/hi_lib/hi.lib
|
|
294
297
|
- tests/mxx_ru/lib_path/main.c
|
|
295
298
|
- tests/mxx_ru/lib_path/main.rb
|
|
296
299
|
- tests/mxx_ru/lib_path/tc_lib_path.rb
|
|
@@ -356,7 +359,6 @@ files:
|
|
|
356
359
|
- tests/unix/lib_linking_mode/main_static_2.cpp
|
|
357
360
|
- tests/unix/lib_linking_mode/main_static_2.rb
|
|
358
361
|
- tests/unix/lib_linking_mode/main_static_2.ut.rb
|
|
359
|
-
- tests/unix/lib_linking_mode/o/main_conflict.o
|
|
360
362
|
- tests/unix/lib_linking_mode/tc_conflicted_build.rb
|
|
361
363
|
- tests/unix/lib_linking_mode/tc_normal_build.rb
|
|
362
364
|
- tests/unix/lib_order/a.cpp
|
|
@@ -397,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
397
399
|
version: '0'
|
|
398
400
|
requirements: []
|
|
399
401
|
rubyforge_project:
|
|
400
|
-
rubygems_version: 2.
|
|
402
|
+
rubygems_version: 2.6.11
|
|
401
403
|
signing_key:
|
|
402
404
|
specification_version: 4
|
|
403
405
|
summary: Mxx_ru (Make++ on Ruby) is a cross-platform build tool
|
|
Binary file
|