cmake

48 views
Skip to first unread message

Jarosław Bober

unread,
Jan 25, 2013, 5:09:30 PM1/25/13
to pdfhummus-in...@googlegroups.com
Hello, I upload CmakeLists.txt, this is to make a project for libJpeg library.
FIrst of all what is cmake. Cmake is a project generator, it can make projects for visual studio, xcode, makefiles. This way you don't have to maintain different projects.
Obviously you need to install cmake. It's free and open source.
put this CMakeLists.txt where are sources for jpeg lib, make directory BUILD open this directory with command line and enter cmake ..
And viola you have created a solution. this is called out of source build, just to not pollute sources with binaries.
I made cmakeLists for all referenced libraries and PDFWriter lib. Please check if it works for you, and on mac.

Regards,
Jaroslaw
CMakeLists.txt

Gal Kahana

unread,
Jan 26, 2013, 7:36:51 AM1/26/13
to pdfhummus-in...@googlegroups.com
Thanks man. i'll look into it sometime next week.

Gal.

Jarosław Bober

unread,
Jan 28, 2013, 5:20:53 AM1/28/13
to pdfhummus-in...@googlegroups.com
Hello,
I have created a fork with cmake added if you will be interested it's here:
https://github.com/gerronimo/PDF-Writer.git

Regards,
Jaroslaw.

2013/1/26 Gal Kahana <gal.bezal...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "PDFHummus interest group" group.
To post to this group, send email to pdfhummus-in...@googlegroups.com.
To unsubscribe from this group, send email to pdfhummus-interest...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pdfhummus-interest-group/-/8N8OM8tEcskJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Gal Kahana

unread,
Feb 2, 2013, 11:35:55 AM2/2/13
to pdfhummus-in...@googlegroups.com
Jaroslaw,
i'm looking into cmake. i like it and i think it should work well.
man - i don't really get the part about FreeType, and it doesn't work (the rest works well).
what's your intention there?

[i can have a simple CMakeList.txt for the freetype folder, to create it...no problem, but i'm curious about the usage of find_library]

Regards,
Gal.

On Saturday, January 26, 2013 12:09:30 AM UTC+2, Jarosław Bober wrote:

Jarosław Bober

unread,
Feb 2, 2013, 1:40:09 PM2/2/13
to pdfhummus-in...@googlegroups.com
Hello Hal,
My intention with Freetype was to find already compiled static library in the freetype directory. I didnt have time to compile it from resources. Try to copy compiled library there, cmake should handle extensions..Lib or .a on unix-like systems.
You can try to make Cmakelists.txt yourself. I can help you when i finish acroforms :)
Regards,
Jarosław

Gal Kahana

unread,
Feb 3, 2013, 12:45:40 AM2/3/13
to pdfhummus-in...@googlegroups.com
In case my email response didn't find you:
no worries. i'll take care of this.
you'll get to have fun with forms. Do tell us all about it when done :)

Cheers,
Gal.

Jarosław Bober

unread,
Feb 3, 2013, 5:43:53 AM2/3/13
to pdfhummus-in...@googlegroups.com
Hello Gal,
I read your email yesterday, I was just too tired to respond :)
Good that you like cmake. It's really helpful in maintaining even large projects on different platforms.
Did you try to copy this compiled Freetype.a library? Did cmake find it and link to it?

Regards,
Jaroslaw
Reply all
Reply to author
Forward
0 new messages