TagLib so when building it, these two libraries must also be available. I started a new project that will be making use of SQLite and One sentence: The new way is to construct your CMakeLists rather target based instead of variable based).īut despite all that, as mentioned before, it’s a cool utility and one gets used to the weird stuff after a while. You’ll find on the Internet may still work, but are not really recommended anymore (to sum it up in “ Modern CMake”, meaning that a lot of the stuff You’ll be spending a lot of time on Google, reading Stackoverflow threads or blog posts, and siftingĪdding to this confused state is the ‘recent’ evolution to the best practices of You’ll easily get started with CMake by looking at the usual “Hello, world!” tutorials:Ĭreate a CMakeLists.txt file, insert an add_executable() here and an add_library() there,Īnd very soon you’ll have a running program.exe.īut as soon as you’ll need some more advanced features (and you will need and should use them!), Very good structured or written for that task… And even if you only ever use it as a reference, it’s not It’s not very good in terms of general overview/introduction, or explaining how all plays together, Official documentation is still pretty terrible: One thing to consider though is that CMake has its own quirky scripting language and the I’m using CMake for building my personal projects for several years nowĪnd am actually quite happy with it: It’s a very powerful and useful tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |