mardi 1 septembre 2015

cmake including external libraries in a build

I am using cmake on my ubuntu machine to crosscompile an executable for another platform.

I'm new to using cmake. I want to use sqlite in the executable. I downloaded the sqlite amalgamation and I have the .c and .h file in local dir on my ubuntu machine.

What do I need to put in the cMakeLists.txt file in order for it the library to be included in the build?

Thanks

Aucun commentaire:

Enregistrer un commentaire