Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CmakeList.txt isnt being generated #11

Open
rajpra opened this issue Aug 5, 2014 · 2 comments
Open

CmakeList.txt isnt being generated #11

rajpra opened this issue Aug 5, 2014 · 2 comments

Comments

@rajpra
Copy link

rajpra commented Aug 5, 2014

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 = '..';
$VAR2 = '$(SolutionDir)x_other_libs';
$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?

@ohhmm
Copy link
Contributor

ohhmm commented Aug 8, 2014

try to replace the line 386 content:
$add_dep =~ s{}{/}g;
with:
if($add_dep)
$add_dep =~ s{}{/}g;

@rajpra
Copy link
Author

rajpra commented Aug 13, 2014

i replaced with:
if ( $add_dep ) {
$add_dep =~ s{}{/}g;
}

but now i get:
Invalid range "e->" in transliteration operator at vcxproj2cmake.pl line 393.

which is:
warn Dumper(@includes);

Any ideas?

@KalleDK KalleDK mentioned this issue Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants