Тёмный

CMake and Conan: past, present and future - Diego Rodriguez-Losada - Meeting C++ 2023 

Meeting Cpp
Подписаться 31 тыс.
Просмотров 5 тыс.
50% 1

CMake and Conan: past, present and future - Diego Rodriguez-Losada - Meeting C++ 2023
From legacy variable-based dependencies to Common Package Specification (CPS)
CMake and Conan have been continuously evolving since their origin. Specifically, dependency management in CMake has evolved from using variables defined in find modules, to using usage requirements in imported targets defined in config files. More recently, toolchain files, CMake presets, the new CMake dependency providers and the preliminary work towards a Common Package Specification (CPS) are creating new integration possibilities. In parallel to this, the Conan package manager and CMake integrations have also greatly changed over years to provide an improved and transparent CMake integration and better developer experience.
This talk will quickly review the past approaches, their pitfalls, and how modern CMake and Conan integrations have improved over them:
From variables, to targets, to transparent targets integration with modern Conan generators
Better separation of concerns to align binary configurations using CMake toolchains
Improving the developer experience with CMake presets
The new CMake-Conan integration using CMake’s new dependency providers feature for transparent installation of dependencies
The talk will finalize with an overview of ongoing work over a Common Package Specification (CPS) proposal, how CMake and Conan already have early partial implementations, and it will finish summarizing future steps.

Наука

Опубликовано:

 

7 янв 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@dmitryyudin4990
@dmitryyudin4990 6 месяцев назад
Very informative talk. Thank you soo much!
@richjohnson8261
@richjohnson8261 5 месяцев назад
I hope to see more example and tutorial resources for conan v2 and cmake on the web. It seems lacking at this time. I really struggle to get a new project started. For example, bringing Fakeit into my project is a challenge perhaps because it is a header-only. Not sure.
@MsJavaWolf
@MsJavaWolf 2 месяца назад
I spent the whole day trying to configure a Qt project, I'm still not done xD
@shaulfridman4444
@shaulfridman4444 4 месяца назад
Great talk, thanks 🙏
@GaryOberbrunner
@GaryOberbrunner 5 месяцев назад
Is there a repo with the demo you're giving in this talk? I'm trying to set up a new project using conan2 and cmake with cmake as the driver, but cannot figure out how to make a single "cmake" command work like in your first demo.
@andyhome5009
@andyhome5009 Месяц назад
I would like to know this as well. I can’t find this example in the repository
@zxcaaq
@zxcaaq 6 месяцев назад
thanks for the talk but I need to be able to take cmake project and output the actual fucking command that is used to compile it. gcc clang etc..
@Mindfak224
@Mindfak224 2 месяца назад
did you try this? mkdir build cd build cmake .. (path to your sourcecode) cmake --build . CMake is the easiest thing there is. There is only configuring and building. If it doesn't build then your config is wrong. you do not have to care about the compiler since this is handled by the generator
Далее
Дьявол - ТРЕШ ОБЗОР на фильм
19:10
Class Layout - Miloš Anđelković - Meeting C++ 2023
58:00
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
Красиво, но телефон жаль
0:32
Просмотров 940 тыс.