Shared Libraries and Where To Find Them
- WindowsCMake: Build time vs runtime - WindowsCreating relocatable bundlesInstallers, packages, bundles ● Goal: build on one machine, run in another ● Application must find all its shared library dependencies Bundled with the application Arbitrary location (chosen at install time)Installers, packages, bundles ● Goal: build on one machine, run in another ● Application must find all its shared library dependencies executable and libraries ● Or specific formats: ○ macOS App bundles (.app) ○ AppImage on Linux ○ Android APKGathering shared libraries for bundles Linux: we can rely on the linker loader to gives us a list0 码力 | 94 页 | 6.49 MB | 5 月前3Dynamically Loaded Libraries Outside the Standard
called bundles in Mac OS X, are not .dylib • Usually have .so or .bundle filename extension • Do not support linking by passing -lname to ld • Some deprecated APIs can load, link, and unload bundles at at runtime • dlopen() APIs works with both dynamic libraries and bundles • Prior to Mac OS X 10.5, dlclose() does not unload dynamic libraries Example: NSBundle7 CppCon 2021 | • Portable Executable format0 码力 | 100 页 | 3.98 MB | 5 月前3Regular, Revisited
Revisited 8 Classified The classes we write: RAII Utility Callable Wrappers Function bundles :( Polymorphic types / Hierarchies Containers Values ... "The Evolution of C++ - A Typescript0 码力 | 180 页 | 19.96 MB | 5 月前3Conan 1.56 Documentation
depend on libb at all. 11.4. Lockfiles 175 Conan Documentation, Release 1.56.0 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.53 Documentation
json [] As expected, nothing to build, as app2 does not depend on libb at all. 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 953 页 | 7.64 MB | 1 年前3Conan 1.54 Documentation
json [] As expected, nothing to build, as app2 does not depend on libb at all. 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.55 Documentation
depend on libb at all. 11.4. Lockfiles 175 Conan Documentation, Release 1.55.0 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.37 Documentation
on libb at all. 160 Chapter 11. Versioning Conan Documentation, Release 1.37.2 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 793 页 | 6.98 MB | 1 年前3Conan 1.38 Documentation
json [] As expected, nothing to build, as app2 does not depend on libb at all. 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 809 页 | 7.02 MB | 1 年前3Conan 1.39 Documentation
json [] As expected, nothing to build, as app2 does not depend on libb at all. 11.4.5 Lockfile bundles Warning: This is an experimental feature subject to breaking changes in future releases. Every information that can be used to avoid duplicated builds. Using a lockfile bundle to build The lockfile bundles also can compute a “build order” over the bundle, that will give an ordered list of lists of the same status (marked “modified” and same package revision). The “modified” state for the lockfile bundles can be cleaned using the command conan lock bundle clean-modified that will clean that flag from0 码力 | 819 页 | 7.05 MB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5