path: root/cmake
AgeCommit message (Collapse)AuthorFilesLines
2014-02-10increase gtk3 dependencyAlbert Astals Cid1-1/+1
gtk_tree_view_set_activate_on_single_click was introduced in 3.8
2014-01-26Use c99 for the c compilerAlbert Astals Cid1-0/+1
2014-01-14Do not define -ansiAlbert Astals Cid1-5/+0
We are using long long that is not defined in ansi, so forcing ansi strictness does not make any sense. Bug #72499
2013-06-18If qmake gives us a Qt5 qmake try with qmake4 and qmake-qt4Albert Astals Cid1-23/+39
2013-05-27Fix big file support in cmakeAlbert Astals Cid2-0/+58
Tested by Fabio
2013-03-18cmake: drop search of gthread-2.0 and gio-2.0 from GTKPino Toscano1-1/+1
this matches what is done in the autoconf counterpart
2013-03-18cmake: search also for gio-2.0 as GLIB libraryMichael Weiser1-1/+2
2012-05-21Compile++Albert Astals Cid1-4/+4
2012-02-20cmake: support for lcms2Pino Toscano1-0/+73
followup of e48c22d3b70412015b9cc07a9a6ce07845274e13 also for the CMake build system, importing the FindLCMS2.cmake from kdelibs
2012-02-06Merge branch 'master' into xpdf303mergeAlbert Astals Cid2-0/+15
Conflicts: poppler/ poppler/CairoOutputDev.h poppler/ poppler/ poppler/ poppler/ poppler/GlobalParams.h poppler/
2012-01-30cmake: support $(gir_name)_EXPORT_PACKAGES for g-ir-scannerPino Toscano1-0/+2
2012-01-27Set OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG if you have itAlbert Astals Cid1-0/+13
Fixes/workarounds bug 43414 with openjpeg 1.5 (unreleased) (cherry picked from commit de6415af1a39ec7dfa4f149c6c5e311b86352cec)
2011-08-30xpdf303: char * -> const char *Albert Astals Cid1-1/+1
2011-02-13remove more GDK-related stuffPino Toscano1-22/+0
followup of 149b7fec472beda9d1538e0f26607c9498d504c2
2011-01-16Some more qt3 thigs i forgot to killAlbert Astals Cid1-319/+0
2010-12-13Move -fno-exceptions -fno-check-new to default flagsAlbert Astals Cid1-1/+1
Makes sense since we decided not to support the exception path in gmem a while ago
2010-12-13More gcc flags movementAlbert Astals Cid1-2/+2
-Wchar-subscripts is part of -Wall so remove it Move -fno-common to default options since it makes sense to use it
2010-12-13Promote -Wcast-align to the general warnings we ask gcc to giveAlbert Astals Cid1-1/+1
2010-10-17[CMake] update MacroOptionalFindPackage.cmake from KDE SVNPino Toscano1-10/+30
no radical changes, just a minor improvement for the "explicitly disabled" case
2010-10-17[CMake] Cairo package: make the version check really workingPino Toscano1-4/+4
2010-07-17[CMake/glib] add support for gobject-introspectionPino Toscano2-0/+155
other than a module to find (using pkg-config) gobject-introspection, this adds a macro (gir_add_introspections) to add new introspections in a directory. its working is much similar (even the variable names used) to the Makefile version provided by gobject-repository itself, with the notable difference of a disabled libtool in the g-ir-scanner invocation. the only additional step needed is adding two custom targets, compiled by ALL, which have the gir and the typelib files as dependencies, to make them build with the usual `make all'.
2010-05-28[CMake] Do not force -O2, preserve compiler flags instead.Maciej Mrozowski1-2/+2
2010-04-14update XOPEN_SOURCE to 600 in non standard compile optionsAlbert Astals Cid1-1/+1
it seems helps compiling on some BSD
2010-03-23[CMake] remove the (now) unneeded stuff from Find{GLIB,GDK,GTK}.cmake, and ↵Pino Toscano3-39/+3
search for them this way each bit (GLIB, GDK, and GTK) can be enabled/disabled independently from the others
2010-03-23[CMake] copy FindGTK.cmake as FindGLIB.cmake and FindGDK.cmakePino Toscano2-0/+68
this way FindGTK.cmake can be split in the various parts
2010-03-22[CMake] revert addition of "-Wl,--no-add-needed" to the link flags, if availablePino Toscano1-6/+0
for now it is safer without it
2010-03-22[CMake] add "-ansi" to the CXXFLAGS only on LinuxPino Toscano1-2/+7
2010-03-20[CMake] check whether a link flag is supported before adding it to the link ↵Pino Toscano1-3/+20
flags this way we can add -Wl,--as-needed and -Wl,--no-add-needed only if the current GCC/LD supports them
2010-03-20[CMake] with GCC, pass --as-needed and --no-add-needed to the linkerPino Toscano1-0/+4
--as-needed allows to avoid overlinking, linking only to the libraries whose symbols are actually used --no-add-needed makes the linker not use the NEEDED libraries automatically, so we have to always make sure we specify all the libraries actually used in a exe/lib
2010-03-17[CMake] proper way of looking for pkg-configPino Toscano1-1/+1
2010-03-17[CMake] update FindFontconfig.cmake with a more recent versionPino Toscano1-6/+9
... present in KDE (as before)
2010-03-17[CMake] small cleanups in FindGTK.cmakePino Toscano1-5/+12
- update the header will all the stuff found and the variables set - add my copyright for this year - remove no more useful UsePkgConfig inclusion
2010-03-17[CMake] switch gtk2 (gtk+, gdk-pixbuf, gthread, gio) search to use the new ↵Pino Toscano1-25/+2
pkg_check_modules() way
2010-03-17[CMake] switch gdk2 search to use the new pkg_check_modules() wayPino Toscano1-12/+1
2010-03-17[CMake] switch glib2 search to use the new pkg_check_modules() wayPino Toscano1-16/+2
2010-03-17[CMake] rename GLIB_VERSION to GLIB_REQUIREDPino Toscano1-1/+1
this way it matches autotools, and it is going to not conflict with my next changes
2010-03-07[CMake] move the minimum GLib version to the main CMakeLists.txtPino Toscano1-1/+1
2010-03-07[CMake] apparently there's not a minimum version requirement for GDK, so ↵Pino Toscano1-4/+1
drop the check
2010-03-07[CMake] enhance/rewrite a bit the FindCairo modulePino Toscano1-23/+41
make use of some features of CMake 2.6 (as we require it): - newer pkg-config handling (aka pkg_check_modules()) - version checking for modules (PACKAGE_FIND_VERSION*) - find_package_handle_standard_args() also, after the pkg-config search to win32, search for cairo again (double-check plus real search for win32) furthermore, introduce CAIRO_INCLUDE_DIRS with the include paths requires (kind of "obsoletes" CAIRO_CFLAGS, left there in case it is used again) apply the changes to the rest of the build system (specify the version needed, use the correct variable for includes)
2010-03-06[CMake] add a show_end_message() macro to show a generic string as valuePino Toscano1-2/+7
make show_end_message_yesno() call it with the proper "yes" or "no" string
2010-03-06[CMake] rename the show_end_message() macro to show_end_message_yesno()Pino Toscano1-2/+2
2010-03-02[CMake] properly define ICONV_CONSTPino Toscano1-0/+3
2010-02-22[CMake] no more need to build system check for the Cairo blend modesPino Toscano1-18/+0
followup of 880890c14e99a954b365a3a6b59deeffa5304d30 for the cmake build system
2010-02-21Merge remote branch 'origin/cpp-frontend'Pino Toscano1-0/+57
* origin/cpp-frontend: (34 commits) [cpp/tests] poppler-dump: show a string for the font type [cpp/tests] poppler-dump: show the orientation of the pages [cpp/tests] poppler-dump: a bit less output in permissions lines [cpp/tests] poppler-dump: add --show-all to show all the information [cpp] use iconv for the utf8 <-> utf16 conversions [cpp] add the build system stuff for iconv, mandatory for cpp [cpp] fixup unicode GooString <-> ustring conversions [cpp] fix installation of poppler-version.h with autotools and builddir != srcdir simplify [cpp/tests] add a simple poppler-dump test [cpp] use the correct index (instead of an uninitialized variable) [cpp] properly delete the children of a toc item [cpp] actually implement toc::root() [cpp] fix the reference to the vector data [cpp] fix the reference to the vector data [cpp] add destructor for 'rectangle' [cpp] add out stream operators for rect and rectf [cpp] add namespace to namespace functiond to link properly [cpp] add default empty parameters for the passwords of the document loading functions [cpp] add "human friendly" output representation for byte_array ... Conflicts: config.h.cmake
2010-01-25[CMake] allow multiple targets with the same namePino Toscano1-0/+7
this is needed for building the unit tests later without explicitly having enabling them at configure time (thus compile them on-demand) for this, set the cmake policy 0003 as OLD (allow), and consecuently 0011 for setting the former from an include()d script
2010-01-25[CMake] do not add the fake buildtests target for the MSVC IDEPino Toscano1-2/+2
2010-01-07[CMake] followup recent glib/gtk+ version requirementsPino Toscano1-3/+3
- glib to 2.18, see ce9404b1999f81b3f9e5a89bcd6e715463f89024 - gtk+ to 2.14, see e338643f2cebb1203f7ff0646f87b3dea8318757
2009-12-30[cpp] add the build system stuff for iconv, mandatory for cppPino Toscano1-0/+57
2009-12-14[CMake] add the configure check for the Cairo blend modes support (as in ↵Pino Toscano1-0/+18