summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/DefineDependsandFlags.cmake (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-12-02add draft janet interface for livecodings-ol1-1/+2
2019-10-30CMake: enable -fstack-protector-strong by defaultPatrick Storz1-2/+2
2019-10-29gcc has AddressSanitizer support (allow WITH_ASAN)Thomas Holder1-3/+0
2019-10-18CMake/MSYS2: Link against libssp (required for _FORTIFY_SOURCE)Patrick Storz1-0/+1
mingw-w64 does not seem to have native support for fortification, libssp offers it, so let's try this for now. Not sure yet if disabling _FORTIFY_SOURCE would be better/worse. See also https://sourceforge.net/p/mingw-w64/mailman/message/36764708/ https://github.com/msys2/MINGW-packages/issues/5803 https://github.com/msys2/MINGW-packages/issues/5868
2019-10-12CMake: Avoid reordering CMAKE_CXX_FLAGSPatrick Storz1-11/+17
Order matters; the reordering caused the _FORTIFY_SOURCE flag to be always undefined (as we flipped a "-U" and "-D") Also skip removing duplicates to avoid similar pitfalls (we kept only the first occurrence but should've kept the last) It did not work properly anyway (we still had duplicates in the end) and was only required as we wrote the final CMAKE_CXX_FLAGS back to cache and consequently appended new flags with every run of CMAKE.
2019-10-12Update DefineDependsandFlags.cmakeMarc Jeanmougin1-1/+1
2019-10-11Initialize some uninitialized variablesMarc Jeanmougin1-1/+1
2019-10-08Move LPE's into 3 groups normal, experimental y testing. Testing is only ↵Jabier Arraiza1-6/+0
usable by setting up a flag. Must set off for release. I think also for LPETool
2019-08-22remove HAVE_POTRACEMarc Jeanmougin1-2/+0
2019-08-21Make potrace a dep, remove previous codeMarc Jeanmougin1-10/+6
2019-07-11CMake: Sync states of WITH_NLS and ENABLE_NLS if gettext isn't foundPatrick Storz1-0/+1
2019-07-02WITH_ASAN AddressSanitizer compile optionThomas Holder1-2/+17
2019-06-19fix "ld: framework not found -lCocoa"Thomas Holder1-0/+18
2019-06-05Remove unused libyaml dependencyPatrick Storz1-12/+0
This was required by xverbs, which were removed in db05b842cba28f01b431eee890537959aa2d8fe3
2019-06-02Fix linking for Homebrew (macOS)Thomas Holder1-1/+1
Supersedes !710
2019-05-31Include more feature librariesRené de Hesselle1-2/+2
- gtkspell - libyaml - cppunit - librevenge - libcdr - ImageMagick 6 - OpenMP
2019-05-29macOS: gtk-mac-integrationThomas Holder1-0/+6
2019-05-27Improve xgettext processMarc Jeanmougin1-1/+1
2019-05-12Remove support for LCMS 1Karl Cheng1-10/+1
Now that all platforms (including macOS) now support LCMS 2, we no longer need to support LCMS 1. Fixes: https://bugs.launchpad.net/inkscape/+bug/1133014
2019-04-24add _GLIBCXX_ASSERTIONS flag to detect OOB accesses in debug buildsMarc Jeanmougin1-0/+1
2019-04-02Add new lib2geom dependency: "double-conversion"Patrick Storz1-0/+2
2019-03-31CMake: Use CMAKE_CXX_STANDARD and don't set it in three placesPatrick Storz1-8/+1
This requires bumping cmake version requirement to 3.1 (which should long be available on supported platforms, though) TODO: We actually depend on GNU compiler extensions right now (i.e. *don't* build with -std=c++11 but require -std=gnu++11)
2019-03-31CMake: Avoid defining _FORTIFY_SOURCE twice in separate placesPatrick Storz1-6/+6
2019-03-20GTK-3.22 dependencyThomas Holder1-4/+4
Closes #147
2019-03-06Improve Debug buildingThomas Holder1-0/+1
- add -O1 to make FORTIFY_SOURCE happy (eliminate compiler warnings) - canonicalize CMAKE_CXX_FLAGS_DEBUG to avoid unnecessary recompilation Both issues were introduced with f7fc3d3a7f8f51a01cd1dfb261c3e234617e092e
2019-02-11Add gcc/version checkMarc Jeanmougin1-2/+7
2019-02-11Fix buildMarc Jeanmougin1-0/+4
2019-02-09Mix init-tool and xgettext to allow inx and glade filesJabiertxof1-0/+5
2019-02-09Add xgettext instead intl-toolJabiertxof1-9/+3
2019-01-05Fix linking for MacPortsThomas Holder1-1/+2
2018-11-21CMake: Specifically enable Microsoft bit-field layout for structsEduard Braun1-0/+1
(silences warnings in clang / already default for gcc)
2018-11-21CMake: Remove popt from dependenciesEduard Braun1-5/+0
Not required anymore after 408cb49b5559a81ea803df64bf58457a5dd4bf16
2018-11-21-Werror=format -Werror=format-securityThomas Holder1-0/+3
2018-10-12Fix install location of .mo filesEduard Braun1-1/+1
.mo files were copied to e.g. "en.mo" instead of "inkscape.mo" This was broken after e939fcccf36f2a89435b0f8328db9be32ce3b600 as there was one tiny customization in our copy of FindGettext.cmake
2018-10-08Add CMAKE_CXX_STANDARD for cmake 3.1Simon Wells1-0/+2
add note saying can remove -std=c++11 when minimum cmake is 3.1
2018-10-06Prefer LDFLAGS over LIBRARIES for pkgconfigSimon Wells1-12/+2
LDFLAGS include LIBRARIES, therefore remove duplicates Replaced LIBRARIES with LDFLAGS for gtk and gtkspell so they work even if the libraries are not in a standard path
2018-10-02CMake: Allow to build with GraphicsMagick instead of ImageMagickEduard Braun1-8/+20
For now we still default to ImageMagick, but we can fall-back to GraphicsMagick (e.g. if only ImageMagick 7 is available; add a check for this). To prefer GraphicsMagick despite a compatible version of ImageMagick use -DWITH_IMAGE_MAGICK=OFF when running CMake
2018-10-01Avoid duplicating defines in config.h and on command lineEduard Braun1-4/+2
2018-10-01config.h - remove all defines we never useEduard Braun1-6/+0
(strictly speaking PACKAGE and PACKAGE_NAME are unused, too, but let's keep them for now)
2018-10-01Move GTKMM_CHECK_VERSION from config.h to it's own headerEduard Braun1-9/+0
Avoids having to recompile most of the Inkscape codebase whenever gtkmm is updated.
2018-09-29CMake/po: Check for presence of intltool for creating inkscape.potEduard Braun1-2/+9
Also remove FindGettext module and use the one that ships with CMake (bumps minimum version to CMake 2.8.8 for GETTEXT_VERSION_STRING)
2018-09-29CMake: Whitespace cleanupEduard Braun1-80/+78
2018-09-28fix 1789208 poppler 0.69Thomas Holder1-12/+0
2018-06-30CMake: Set WITH_GTKSPELL to OFF if not found for consistencyEduard Braun1-46/+36
Also remove (unused) legacy variable "TRY_GTKSPELL", remove an outdated comment, fix indentation and some cleanup
2018-03-20make yaml optional even if presentMarc Jeanmougin1-9/+11
2018-03-17make jemalloc optional at compile timeMarc Jeanmougin1-3/+7
2018-03-04Fix GTKMM version check macroAlexander Valavanis1-0/+9
2018-01-10Explicitly link against libX11 for ld.goldTobias Ellinghaus1-3/+11
Some linkers, like gold, don't find symbols in libraries not explicitly linked against. So we have to add libX11. On systems not using X11 this shouldn't hurt.
2018-01-09Fix profiling buildEduard Braun1-0/+9
Also remove ConfigCompileFlags.cmake (which wasn't included anymore for almost 10 years now)
2017-12-25Use a macro for GtkMM version checksAlexander Valavanis1-48/+0