CmakeList.txt isnt being generated
rajpra opened this issue · comments
Hi, When i run:
perl vcxproj2cmake.pl myproject1.vcxproj "\Debug"
i get
Use of uninitialized value $add_dep in substitution (s///) at vcxproj2cmake.pl line 386.
Use of uninitialized value $add_dep in split at vcxproj2cmake.pl line 388.
$VAR1 = '..';
$VAR3 = '.';
$VAR1 = 'package';
$VAR2 = 'Boost';
$VAR3 = 'package_upcase';
$VAR4 = 'BOOST';
$VAR1 = 'flter';
$VAR2 = 'Strategies\something\something';
$VAR3 = 'files';
$VAR4 = '';
$VAR1 = 'flter';
$VAR2 = 'interactions';
$VAR3 = 'files';
$VAR4 = '';
$VAR1 = 'flter';
$VAR2 = 'Strategies\Other';
$VAR3 = 'files';
$VAR4 = '';
$VAR1 = 'files';
$VAR2 = '';
$VAR3 = 'flter';
$VAR4 = 'Strategies\something\thing\somes';
$VAR1 = 'flter';
......
$VAR20 = '-DWIN32
-D_DEBUG
-D_CONSOLE';
but no file.
do i need to pipe it to a file or is something not being written correctly?
try to replace the line 386 content:
$add_dep =~ s{}{/}g;
with:
if($add_dep)
$add_dep =~ s{}{/}g;