Comments (4)
This would be a good docs to check regarding this: https://docs.conan.io/2/tutorial/developing_packages/package_layout.html
from conan.
Thanks for the feedback, always happy to help!
from conan.
Hi @Sickeroni
Thanks for your feedback.
We would need a conanfile.py
that helps understanding this issue.
The editables
are not magic, they need an explicit definition in the layout()
method that matches the local layout at development time, the "editable" layout. If you are not using an include
folder which is the default provided for example by cmake_layout()
, you will need to customize the cmake_layout
default definitions in your layout()
method.
Can you please provide a reproducible case with a conanfile.py
for the editable (together with the other full files that would be needed to reproduce). Thanks!
from conan.
yep that solves my problem
thanks!
[edit]
I forgot the details/summary:
1: the cmake extension adds the directory include
per default -> will be ignored for compiles, but in editable mode it is differently included and fails
also
2. the layout method itself needs to be changed to be compatible with editable mode -> extra steps in conanfile.py, that will work.
https://docs.conan.io/2/tutorial/developing_packages/package_layout.html for better details how to solve it
[/edit]
from conan.
Related Issues (20)
- [bug] MesonToolchain fails when settings.os is None i.e. bare metal
- [question] Help understand the output of `conan search` HOT 9
- [question] How to override an option with value `None` via cmdline HOT 4
- [question] Regression in Azure CI Windows-2022: VCVARS does not pick an available toolset HOT 5
- [bug] abseil_LIBS_RELEASE and protobuf_LIBS_RELEASE are EMPTY in generated XXX-Platform-data.cmake issuing in linking problems HOT 3
- [question] Conan 2 lockfiles: How-to lock pkgid and prev? HOT 5
- [question] best practice for 1.x and 2.x compatibility? HOT 1
- [feature] Consider enhancing conan.tools.files.get() to support Git repos in addition to compressed file formats HOT 2
- [bug] MesonToolchain incurrectly sets c and cpp values when no compiler is specified HOT 4
- [bug] MesonToolchain should convert "os=baremetal" to "system=none" HOT 3
- [bug] in Ubuntu, clang, Ninja enviornment. ERROR: pulseaudio/14.2: Error in build() method, line 131 HOT 4
- [bug] Docker runner example fails when using cache=shared
- [question] How to set [conf] items from a conanfile.py? HOT 5
- [feature] Support out-of-cache profiles in docker runners wtih cache=copy
- [bug] Problems with CMakeDeps generator HOT 11
- [question] Download different package files into different path HOT 2
- [bug] Conan doesn't remove quotes from tools.build:sysroot HOT 3
- [bug] conan.tools.files.unzip() tries to keep files original owner/group and silently fail HOT 4
- [question] packaging debug visualizers (natvis) HOT 20
- [bug] sqlite3/3.45.0 build failure HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.