Unveiling Linux Static and Dynamic Libraries: Essential Usage Techniques You Must Master

Unveiling Linux Static and Dynamic Libraries: Essential Usage Techniques You Must Master

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with a note of 【Public Account】 for faster approval 1. Concept of Libraries A library (Library) is a collection of pre-compiled code (functions, classes, data, etc.) that can be shared and reused by multiple programs. The core … Read more

Building and Linking Dynamic and Static Libraries with CMake Made Simple!

Building and Linking Dynamic and Static Libraries with CMake Made Simple!

Click the blue textFollow the author 1. Introduction In slightly more complex projects, we often encounter situations where we need to build multiple executable files, each potentially composed of different source files. More commonly, the project’s source code is distributed across multiple subdirectories rather than being concentrated in a single directory. ProjectRoot ├── CMakeLists.txt (Top-level … Read more