We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was trying to follow the section about workspace "in-source-builds" (https://docs.conan.io/en/latest/developing_packages/workspaces.html#in-source-builds) with conan 1.5.0 and the example repository (https://github.com/memsharded/conan-workspace-example) on Linux.
Unfortunately it did not work as expected. I tried the following commands:
conan install . (cd C && cmake src && make) (cd B && cmake src && make) (cd A && cmake src && make)
the last command fails with the error:
Scanning dependencies of target app [ 75%] Building CXX object CMakeFiles/app.dir/main.cpp.o [100%] Linking CXX executable app /usr/bin/ld: cannot find -lhelloB /usr/bin/ld: cannot find -lhelloC
The problem can be fixed by adding the following lines to the conanws.yml:
HelloB: [...] libdirs: . HelloC: [...] libdirs: .
Is that the intended behavior? Then I would suggest to use that in the example as well.
Also the following sentence is not true with the current example:
Each local package will have their own build folder, and the generated conanbuildinfo.cmake will be located in it.
For that, conanws.yml would need these additional lines:
HelloB: [...] build: build HelloC: [...] build: build
However, this seems to change the behavior for the out-of-build use case.
-- To help us debug your issue please explain:
The text was updated successfully, but these errors were encountered:
Sorry this was not followed up back then.
Workspaces were removed in Conan 2 years ago. There are plans to bring it back to Conan 2.X, please track #15992 to follow progress on it.
Closing this ticket as outdated, thanks!
Sorry, something went wrong.
memsharded
No branches or pull requests
I was trying to follow the section about workspace "in-source-builds" (https://docs.conan.io/en/latest/developing_packages/workspaces.html#in-source-builds) with conan 1.5.0 and the example repository (https://github.com/memsharded/conan-workspace-example) on Linux.
Unfortunately it did not work as expected. I tried the following commands:
the last command fails with the error:
The problem can be fixed by adding the following lines to the conanws.yml:
Is that the intended behavior? Then I would suggest to use that in the example as well.
Also the following sentence is not true with the current example:
For that, conanws.yml would need these additional lines:
However, this seems to change the behavior for the out-of-build use case.
--
To help us debug your issue please explain:
The text was updated successfully, but these errors were encountered: