Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Abdelwahab HEBA
kaldi_2015
Commits
36cad857
Commit
36cad857
authored
Jul 22, 2015
by
Jan "yenda" Trmal
Browse files
Merge pull request #8 from jtrmal/windows-test-fixes
Windows test fixes
parents
db63ae29
b0439a2e
Changes
81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
7 deletions
+23
-7
windows/generate_solution.pl
windows/generate_solution.pl
+23
-7
No files found.
windows/generate_solution.pl
View file @
36cad857
...
...
@@ -21,12 +21,7 @@ use lib "$Bin";
use
Data::
Dumper
;
use
Getopt::
Long
;
my
$root
=
"
$Bin
/..
";
my
$solutionDir
=
"
$root
/kaldiwin_vs12_auto
";
my
$projDir
=
"
$solutionDir
/kaldiwin
";
my
$solutionFileName
=
"
kaldiwin_vs12.sln
";
my
$srcDir
=
"
$root
/src
";
my
$vsver
=
"
vs2013
";
my
$vsver
=
"
vs2015
";
my
%ENABLED
=
(
CUDA
=>
0
,
OPENBLAS
=>
1
,
...
...
@@ -55,7 +50,28 @@ unless ((defined $TOOLS{$vsver}) && (defined $FORMAT{$vsver}) && (defined $TOOLS
die
"
Unknown vsver value:
$vsver
";
}
my
$features_suffix
;
my
@features_enabled
;
if
(
$ENABLED
{
OPENBLAS
})
{
push
@features_enabled
,
"
OPENBLAS
";
}
if
(
$ENABLED
{
MKL
})
{
push
@features_enabled
,
"
MKL
";
}
if
(
$ENABLED
{
CUDA
})
{
push
@features_enabled
,
"
CUDA
";
}
$features_suffix
=
join
("
_
",
@features_enabled
);
my
$root
=
"
$Bin
/..
";
my
$solutionDir
=
"
$root
/kaldiwin_
${vsver}
_
${features_suffix}
";
my
$projDir
=
"
$solutionDir
/kaldiwin
";
my
$solutionFileName
=
"
kaldiwin_
${vsver}
.sln
";
my
$srcDir
=
"
$root
/src
";
# The following files are in the same dir (windows/) as the
# Perl script.
my
@propsFiles
=
(
...
...
Prev
1
2
3
4
5
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment