Mxx_ru 1.6.14 → 1.6.14.2
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
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 763632cc5e28b6caf3d88023c1c3701d37efc893
|
4
|
+
data.tar.gz: 18f2845ce05663db6f7f7706392b619581edcec0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 184fba6be0dbc662ad56d66d3439f66789e88e3c9b2a52d2132a3a1ef427143e031bff37d400b4af88b754436c3754ac1a07d32aef8a3961f9f5c68e3dec73e0
|
7
|
+
data.tar.gz: eb613ae261f7209764cef0f0c41268832ef14a744038c6a6b0ae432b5504e9262a198477e9e3ea1b9582ced5a0c425ac81cdf0326bff78966b5e7e2fb6b40bee
|
@@ -62,11 +62,11 @@ module MxxRu
|
|
62
62
|
|
63
63
|
# In dry-run mode we always return that target is absent.
|
64
64
|
if !MxxRu::Util::Mode.instance.is_dry_run
|
65
|
-
if FileTest.
|
65
|
+
if FileTest.exist?( name )
|
66
66
|
# It's necessary to detect time of target and it's dependencies.
|
67
67
|
target_mtime = File.mtime( name )
|
68
68
|
if nil != depends.find { |d|
|
69
|
-
if !FileTest.
|
69
|
+
if !FileTest.exist?( d )
|
70
70
|
raise MxxRu::MissingDependFileEx.new( d, name )
|
71
71
|
end
|
72
72
|
depend_mtime = File.mtime( d )
|
@@ -144,7 +144,7 @@ module MxxRu
|
|
144
144
|
# exists, then we will load root project file and start build process
|
145
145
|
# after that.
|
146
146
|
if BUILD_ROOT != target.prj_alias
|
147
|
-
if FileTest.
|
147
|
+
if FileTest.exist?( BUILD_ROOT )
|
148
148
|
require BUILD_ROOT
|
149
149
|
end
|
150
150
|
end
|
@@ -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-
|
4
|
+
# Copyright (c) 2006-2017, 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,
|
@@ -65,7 +65,10 @@ module MxxRu
|
|
65
65
|
target.cpp_compiler_option( "-fno-rtti" )
|
66
66
|
end
|
67
67
|
|
68
|
-
|
68
|
+
# -fPIC switch is not supported on clang+msvc since clang-4.0.0
|
69
|
+
if 'mswin' != tag( 'host_os' )
|
70
|
+
target.compiler_option( "-fPIC" )
|
71
|
+
end
|
69
72
|
|
70
73
|
target.mxx_all_defines.each { |d|
|
71
74
|
target.compiler_option( "-D" + d )
|
data/lib/mxx_ru/util.rb
CHANGED
@@ -217,7 +217,7 @@ module MxxRu
|
|
217
217
|
|
218
218
|
# Deleting file name without exception.
|
219
219
|
def Util.delete_file( a_name )
|
220
|
-
if FileTest.
|
220
|
+
if FileTest.exist?( a_name )
|
221
221
|
File.delete( a_name )
|
222
222
|
end
|
223
223
|
end
|
@@ -337,7 +337,7 @@ module MxxRu
|
|
337
337
|
end
|
338
338
|
|
339
339
|
chain.each { |d|
|
340
|
-
if !FileTest.
|
340
|
+
if !FileTest.exist?( d )
|
341
341
|
Dir.mkdir( d )
|
342
342
|
end
|
343
343
|
}
|
@@ -352,7 +352,7 @@ module MxxRu
|
|
352
352
|
# isn't.
|
353
353
|
def Util.ensure_path_exists( a_path_name )
|
354
354
|
if !MxxRu::Util::Mode.instance.is_dry_run
|
355
|
-
if !FileTest.
|
355
|
+
if !FileTest.exist?( a_path_name )
|
356
356
|
MxxRu::Util.create_dir( a_path_name )
|
357
357
|
end
|
358
358
|
end
|
data/lib/mxx_ru/version.rb
CHANGED
@@ -27,7 +27,7 @@ module TestWithCompilation
|
|
27
27
|
def init_compilation_params( path_name )
|
28
28
|
@path_name = path_name
|
29
29
|
@lib_path = '../' * (path_name.count( '/' ) + 1) + 'lib'
|
30
|
-
@need_change_cwd = File.
|
30
|
+
@need_change_cwd = File.exist?( path_name )
|
31
31
|
end
|
32
32
|
|
33
33
|
def build( *project_files )
|
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.2
|
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: 2017-03
|
11
|
+
date: 2017-08-03 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
|
@@ -395,7 +395,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
395
395
|
version: '0'
|
396
396
|
requirements: []
|
397
397
|
rubyforge_project:
|
398
|
-
rubygems_version: 2.6.
|
398
|
+
rubygems_version: 2.6.11
|
399
399
|
signing_key:
|
400
400
|
specification_version: 4
|
401
401
|
summary: Mxx_ru (Make++ on Ruby) is a cross-platform build tool
|