These scripts told computers how to compile projects, which executables to generate, and which libraries to create. CMake’s add_library Helps With Portabilityīefore CMake, there was a time when people wrote massive scripts for building C/C++ projects – Makefiles. Do you have certain bits of code that need to be shared with different programs/executables? Do you want to distribute some code publicly so other people can use it in their projects? Is your codebase getting ridiculously big, and you need to split parts of it into reasonable modules? Then you need to start thinking about libraries. In summary, you may need to create libraries for a few reasons. Unsurprisingly, libraries aren’t unique to C/C++!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |