JFrog Releases Conan 2
Written by Kay Ewbank   
Thursday, 23 February 2023

JFrog and the team at Conan have released Conan 2. The C/C++ package manager has been released on GitHub, and gives developers the means to model C and C++ application dependencies. The new release includes new generators and a new graph model that provides better support for C and C++ binaries relationships, compilation, and linkage.

Conan is an open source, decentralized and multi-platform package manager for C/C++ that allows you to create and share all your native binaries. The company was acquired by JFrog in 2016.

conan2

Conan is free and open-source, and can be used to develop for all targets including embedded, mobile (iOS, Android), and bare metal. It integrates with major build systems including CMake, Visual Studio (MSBuild), Makefiles and SCons.

Conan 2.0 has been reworked from the ground up. The highlight of the new version is the improved graph model that the team says better represents transitive usage requirements.

It defines new requirement traits (headers, libs, build, run, test, package_id_mode, options, transitive_headers, transitive_libs) and package types (static, shared, application, header-only) to better represent the relations that happen with C and C++ binaries, like executables or shared libraries linking static libraries or shared libraries.

Conan 2 also adds a new public Python API that the developers describe as a real API, with building blocks that are already used to build the Conan built-in commands, but that will allow further extensions.

There are also new build system integrations, so Conan will now use modern build system integrations like CMakeDeps and CMakeToolchain that are fully transparent to CMake integration, so the consuming CMakeLists.txt doesn’t need to be aware about Conan.

Conan 2 is available for download now.

conan2

More Information

Conan Website

Conan On GitHub

Related Articles

Conan C/C++ Package Manager 2.0 Now In Beta

Microsoft Releases New Windows Package Manager

GitHub To Acquire npm

Package Manager Library Open Sourced

Yarn The New JavaScript Package Manager 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Python Is TIOBE Index Language Of The Year 2024
06/01/2025

This news was widely anticipated and, as it's the sixth time Python has won this accolade, it might even be attracting some yawns. However, you would be wrong to view Python as boring. When you delve  [ ... ]



Stack Overflow Jobs Expands As Traffic Dwindles
15/01/2025

Stack Overflow Jobs, a site run in partnership with Indeed, is now available outside the US, including the United Kingdom, Germany, France and the Netherlands. This should provide a revenue strea [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info