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

can you give an exmaple for <target configuration>? #8

Open
0xd5dc opened this issue Nov 13, 2013 · 4 comments
Open

can you give an exmaple for <target configuration>? #8

0xd5dc opened this issue Nov 13, 2013 · 4 comments

Comments

@0xd5dc
Copy link

0xd5dc commented Nov 13, 2013

No description provided.

@dgregryc
Copy link

Agreed, I'm trying to figure out this as well. I will report back if I figure it out.

@dgregryc
Copy link

get_target_property() is trying to match against all PropertyGroups in the .vcxproj you are processing.
It will return the first PropertyGroup whose '-Condition' matches the 'target configuration' you pass in.
For instance, a typical '-Condition' value coming from a PropertyGroup might be ''$(Configuration)|$(Platform)'=='Debug|Win32''.

The only weird thing is that the script wants $target_conf to be a REFERENCE.

So, an example would be the following:

perl vcxproj2cmake.pl foo.vcxproj "\Debug|Win32"

The first slash creates the reference to the string. The second slash escapes the pipe symbol and treats it as a simple string.

I'm still getting an error later 'Not a HASH reference....". Working on this next.

@KalleDK
Copy link

KalleDK commented Jan 21, 2015

Debug should be enough

@spotlesscoder
Copy link

+1 please add it to Readme

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

No branches or pull requests

4 participants