Comments (6)
Thanks!
from conan.
Thanks for your question.
You have the order of the conan create
in https://docs.conan.io/2/reference/commands/create.html#methods-execution-order
from conan.
Hi @memsharded
Thanks!
But why there are 2 init()
calls?
from conan.
But why there are 2 init() calls?
The export
and the install
are separate steps, one loads the recipe in the user space, and then install
loads the recipe in the cache, to guarantee reproducibility. The create
command is equivalent to conan export
+ conan install --requires=<thepkg> --build=<thepkg>
+ conan test ...
from conan.
So, the self.version
field acquired in set_version()
will be available in layout()
, right?
from conan.
So, the self.version field acquired in set_version() will be available in layout(), right?
Yes, but set_version()
only works at export
time, the self.version
might come from the cache metadata once the package is in the cache, without executing the set_version()
method.
from conan.
Related Issues (20)
- [question] Is IMPORTED_LOCATION missing for conan_package_library_targets? HOT 4
- [bug] yasm/1.3.0 doesn't compile with MSVC in release HOT 4
- [question] How to support conanfile.py in a subdirectory, using Bazel HOT 2
- [bug] generated BUILD.bazel file does not import dll when shared=True for some packages
- [question] Access Resource file in cmake module HOT 2
- [bug] Conan install/graph explain don't find package because they don't filter based on settings/options before selecting package candidate HOT 1
- [question] Header library automatic downstream header propagation HOT 4
- [bug] `conan.tools.files.copy()` fails silently. HOT 3
- [question] tool_requires ignores option settings? HOT 5
- [question] Propagating bin dirs for hybrid package HOT 7
- [suggestion] Allow specifying commit hash when installing config from git repository with `conan config install` HOT 3
- [bug] `self.source_folder` varies whether building with `conan create .` or `conan build .`. HOT 2
- [question] Artifactory compatibility between Conan 1 and Conan 2? HOT 6
- [question] alternative solution to Conan 1 alias? HOT 4
- Server side atomic uploads for concurrent uploads
- [question] compatibility strategy for Conan 1 between "Visual Studio" and "msvc"? HOT 3
- [question] How to properly capture SCM in complex scenarios? HOT 1
- [bug] __pycache__ presence violates cached package integrity HOT 10
- [feature] Manifold workspace HOT 6
- [question] Best practices to use Conan in large projects HOT 2
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.