-
Notifications
You must be signed in to change notification settings - Fork 981
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
Feature/msvc msbuild #8238
Feature/msvc msbuild #8238
Conversation
Co-authored-by: Carlos Zoido <[email protected]>
Co-authored-by: Carlos Zoido <[email protected]>
…determine -rpath separator (conan-io#7716) * Fix conan-io#7715, in rpath_flags use host OS instead of build OS to determine the separator for the ld -rpath flag which is neccessary for cross-compiling to Mac OS * For conan-io#7715, don't pass os_host to rpath_flags but extract from settings, pass os_build again and only set rpath_separator to , if compiling for Mac OS from Linux or Mac OS via GCC_LIKE * Fix test_compiler_args for cross-compiling Mac OS X -> Linux * Update conans/client/build/compiler_flags.py Co-authored-by: SSE4 <[email protected]> * Update conans/client/build/compiler_flags.py Co-authored-by: SSE4 <[email protected]> * Update conans/test/unittests/client/generators/compiler_args_test.py * Update conans/client/build/compiler_flags.py * Use -rpath, in all tests for all platforms * fixing tests Co-authored-by: James <[email protected]> Co-authored-by: SSE4 <[email protected]>
…o#8338) * use target without namespace * add marks * use target from the build-module * remove line * build-module per generator * revert changes in build_info * make it explicit it is PATH * even without build-type, compiler.runtime is different for Release/Debug * use x64 for Windows generator
@@ -138,7 +136,7 @@ def package_info(self): | |||
pc_path = os.path.join(client.current_folder, "MyLib.pc") | |||
self.assertTrue(os.path.exists(pc_path)) | |||
pc_content = load(pc_path) | |||
self.assertIn("-Wl,-rpath=\"${libdir}\"", pc_content) | |||
self.assertIn("-Wl,-rpath,\"${libdir}\"", pc_content) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes, was it a bug? Maybe this is worth an entry in the changelog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was another PR for this issue, not this one, I am surprised this is here, need to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR https://github.com/conan-io/conan/pull/7716/files contains this change, and this was merged to develop, and this PR merged develop, so I think it might be a glitch of Github diff
Changelog: Feature: Provide support for
msvc
compiler inMSBuild
toolsDocs: conan-io/docs#1991
Follow up of #8201, to provide support for
msvc
compiler inMSBuild
toolsSame initial experimental support, just extending it for
tools.microsoft
(it was only for CMake):core.package_id:msvc_visual_compatible
in new conan.cfg