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

codeSynthesisXsdTool/4.0.0@Brunni/testing bin path not correct #1

Open
Kretsch0 opened this issue Apr 16, 2017 · 0 comments
Open

codeSynthesisXsdTool/4.0.0@Brunni/testing bin path not correct #1

Kretsch0 opened this issue Apr 16, 2017 · 0 comments

Comments

@Kretsch0
Copy link

Hello,

unfortunately private message is not allowed. I got a problem by using codeSynthesisXsdTool/4.0.0@Brunni/testing. This is a conan recipe you made ;) But does not have an own repository. So it wasn't possible to write the issue there ... Hope you get this message.

I have fixed a problem with codeSynthesisXsdTool/4.0.0@Brunni/testing and bin paths. By default conan will set the bin_path to exportedPackageFolder/bin but you exported the xsd.exe to exportedPackageFolder.

There are two Solutions:

  • change : self.copy("*.exe", dst="", src="extracted/xsd-4.0.0-i686-windows/bin") to self.copy("*.exe", dst="bin", src="extracted/xsd-4.0.0-i686-windows/bin")

or

  • add method def package_info(self): and add self.cpp_info.bindirs = [""]

both will fix the problem of wrong self.deps_cpp_info["codeSynthesisXsdTool"].bin_paths. My preferred option would be the first one ;)

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

1 participant