trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: April 2016

Re: [trinity-devel] Re: testing: tdeabc/vcardparser$ more README.testing

From: Michele Calgaro <michele.calgaro@...>
Date: Tue, 26 Apr 2016 20:55:33 +1000
> Ah, thanks, this is exactly what I was looking for. It has been a couple of
> years since I last created CMakeList.txt . I think I would need a refresh
> of this part of my memory - it wasn't thaaaat hard as the automake stuff.

Copy one from another folder (example from vcard or vcardfolder) and modify from there. Easier way to learn something ;-)

> 
> New query:
> 1. Is there a good way to convert the Makefile.am into CMakeList.txt?
> 2. Is there an alternative way to test the library with the function of
> interest without installing it?
> 
You can create a small test program with your test code, compile and execute. That should be reasonably quick. No need
to set any special linking folder, if you have everything installed correctly if should just find the right function in
the right library file by itself. That is how I tested that regex code in VCardTool

Cheers
  Michele



Attachments: