C++20 Modules: The Packaging and Binary Redistribution Story
C++20 Modules: The Packaging and Binary Redistribution StoryScope ● Brief introduction on C++ modules and their advantages ● Focus on named modules ● Using modules today ○ Can we package module-ready |-- fmt-config.cmake | `-- fmt-targets.cmake └── libfmt.{a|so|dylib|lib} Headers Binary library “Usage requirements”C++ 20: The import keyword clang++ -std=c++20 -o hello_world.cpp.o file with module name <> file mappings) The compiler needs to locate and load the binary module interface (BMI) 👇:Binary module interfaces export module fmt; export namespace fmt { … } fmt.cc fmt0 码力 | 76 页 | 2.09 MB | 5 月前3Conan 1.20 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . conan-center which is moderated, and packages are reviewed before being accepted to ensure quality. 1.3 Binary management One of the most powerful features of Conan is that it can manage pre-compiled binaries sources, what the final binary artifacts are, the package dependencies, etc. When a package recipe is used in the Conan client, and a “binary package” is built from sources, that binary package will be compatible0 码力 | 611 页 | 4.89 MB | 1 年前3Conan 1.19 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . conan-center which is moderated, and packages are reviewed before being accepted to ensure quality. 1.3 Binary management One of the most powerful features of Conan is that it can manage pre-compiled binaries sources, what the final binary artifacts are, the package dependencies, etc. When a package recipe is used in the Conan client, and a “binary package” is built from sources, that binary package will be compatible0 码力 | 609 页 | 4.88 MB | 1 年前3Conan 1.3 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 2.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . versioning approach, from gcc > 5 and clang > 4, the minors are really bugfixes, and then they have binary compatibility. To adapt to this, conan now includes major version in the settings.yml default settings conan-center which is moderated, and packages are reviewed before being accepted to ensure quality. 2.3 Binary management One of the most powerful features of Conan is that it can manage pre-compiled binaries0 码力 | 397 页 | 2.77 MB | 1 年前3Conan 1.16 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . conan-center which is moderated, and packages are reviewed before being accepted to ensure quality. 1.3 Binary management One of the most powerful features of Conan is that it can manage pre-compiled binaries sources, what the final binary artifacts are, the package dependencies, etc. When a package recipe is used in the Conan client, and a “binary package” is built from sources, that binary package will be compatible0 码力 | 545 页 | 4.34 MB | 1 年前3Conan 1.24 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . optimized for accelerating the development and Continuous Integration of C and C++ projects. With full binary management, it can create and reuse any number of different binaries (for different config- urations contributes packages for popular open-source libraries, like Boost, Zlib, OpenSSL, Poco, etc. 1.3 Binary management One of the most powerful features of Conan is that it can create and manage pre-compiled0 码力 | 647 页 | 5.31 MB | 1 年前3Conan 1.21 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . conan-center which is moderated, and packages are reviewed before being accepted to ensure quality. 1.3 Binary management One of the most powerful features of Conan is that it can manage pre-compiled binaries sources, what the final binary artifacts are, the package dependencies, etc. When a package recipe is used in the Conan client, and a “binary package” is built from sources, that binary package will be compatible0 码力 | 621 页 | 4.92 MB | 1 年前3Conan 1.25 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . optimized for accelerating the development and Continuous Integration of C and C++ projects. With full binary management, it can create and reuse any number of different binaries (for different config- urations contributes packages for popular open-source libraries, like Boost, Zlib, OpenSSL, Poco, etc. 1.3 Binary management One of the most powerful features of Conan is that it can create and manage pre-compiled0 码力 | 655 页 | 5.45 MB | 1 年前3Conan 1.26 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . optimized for accelerating the development and Continuous Integration of C and C++ projects. With full binary management, it can create and reuse any number of different binaries (for different config- urations contributes packages for popular open-source libraries, like Boost, Zlib, OpenSSL, Poco, etc. 1.3 Binary management One of the most powerful features of Conan is that it can create and manage pre-compiled0 码力 | 669 页 | 5.51 MB | 1 年前3Conan 1.15 Documentation
package manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.3 Binary management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . conan-center which is moderated, and packages are reviewed before being accepted to ensure quality. 1.3 Binary management One of the most powerful features of Conan is that it can manage pre-compiled binaries sources, what the final binary artifacts are, the package dependencies, etc. When a package recipe is used in the Conan client, and a “binary package” is built from sources, that binary package will be compatible0 码力 | 540 页 | 4.22 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100