conan note

install conan 1.0.0-beta

pip install conan==1.0.0b3 --upgrade
conan --version

conan-center(moderated)
conan-trannsit(non-moderated)
name, version, user, channel
conanfile.py
same sources, different settings => new, different binary
generate a table for all binaries from a given recipe

conan search zlib/1.2.11@conan/stable --table=file.html -r=conan-center

generate a graph of dependecies

conan info .. --graph=file.html

CONAN_POCO_ROOT
CONAN_INCLUDE_DIRS_POCO
CONAN_LIB_DIRS_POCO
CONAN_BIN_DIRS_POCO
CONAN_RES_DIRS_POCO
CONAN_LIBS_POCO
CONAN_DEFINES_POCO
CONAN_COMPILE_DEFINITIONS_POCEE
CONAN_INLCUDE_DIRS
CONAN_LIB_DIRS
CONAN_BIN_DIRS
CONAN_RES_DIRS
CONAN_LIBS
CONAN_DEFINES
CONAN_CMAKE_MODULE_PATH
see shared libraries in Dynamic Section

objdump -p timer

muticonfiguration

conan install ./example-hello -s build_type=Debug --build=missing -if example-hello-build/debug
conan install ./example-hello -s build_type=Release --build=missing -if example-hello-build/release

current camke binary

include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

conan create . demo/testing => ???
equivalent to:

conan export demo/testing
conan install Hello/0.1@demo/testing --build=Hello
conan test test_package Hello/0.1@demo/testing
conan create . dtkcore/2.0.5.3@PikachuHy/testing

你可能感兴趣的:(conan note)