summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* Doxyfile.in: Allow more graph nodesKjell Ahlstedt2022-10-101-1/+1
| | | | Required for Glib::Object's inheritance diagram.
* meson.build: Detect if we build from a git subtreeKjell Ahlstedt2022-09-261-6/+8
| | | | See gtkmm!72 (William Roy)
* 2.74.02.74.0Kjell Ahlstedt2022-09-191-1/+1
|
* 2.73.22.73.2Kjell Ahlstedt2022-08-231-1/+1
|
* Gio: Add some methods for glibmm 2.74Kjell Ahlstedt2022-08-221-1/+1
| | | | | | | | | | | | | * configure.ac: * meson.build: Require glib-2.0 >= 2.73.2. * gio/src/appinfo.hg: Add get_default_for_type_async/finish(), get_default_for_uri_scheme_async/finish(). * gio/src/file.hg: Add make_symbolic_link_async/finish(). * gio/src/liststore.hg: Add property_n_items(). * gio/src/resolver.hg: Add enum Resolver::NameLookupFlags, lookup_by_name_with_flags(), lookup_by_name_with_flags_async/finish(). * gio/src/gio_docs_override.xml: * tools/m4/convert_gio.m4: Add conversions for Resolver::NameLookupFlags.
* Meson/MSVC: Add more warnings to ignoreChun-wei Fan2022-05-231-0/+3
| | | | | We can actually silence more warnings here, since the issues that they cover can normally be fished out by the unit tests.
* Meson: Re-organize MSVC compiler warnings-related itemsChun-wei Fan2022-05-231-4/+14
| | | | | | Add a short description of each of the current compiler flags we are using for this purpose, and only apply '/wd4267' for 64-bit builds since that flag normally applies for 64-bit builds only.
* meson.build: Avoid configuration warningsKjell Ahlstedt2022-05-191-19/+24
|
* 2.72.12.72.1Kjell Ahlstedt2022-05-051-1/+1
|
* 2.72.02.72.0Kjell Ahlstedt2022-04-081-1/+1
|
* Glib, Gio: Add some methods for glibmm 2.72Kjell Ahlstedt2022-04-071-1/+1
| | | | | | | | | | | | | * configure.ac: * meson.build: Require glib-2.0 >= 2.71.2. * gio/src/dbusproxy.hg: signal_signal() accepts a signal name. * gio/src/file.[ccg|hg]: Add move_async() and move_finish(). * gio/src/socketclient.hg: Deprecate set/get/property_tls_validation_flags(). * gio/src/tlscertificate.hg: Add properties private_key, private_key_pem, pkcs11_uri, private_key_pkcs11_uri. * gio/src/tlsclientconnection.hg: Deprecate set/get/property_validation_flags(). * glib/glibmm/main.[cc|h]: Add create(MainContextFlags flags). * glib/src/enums.hg: Add enum Glib::MainContextFlags.
* Remove HACKINGKjell Ahlstedt2022-02-141-2/+1
|
* meson.build: Specify 'check' option in run_command()Kjell Ahlstedt2022-02-141-8/+16
| | | | | | The default value will be changed in future Meson releases. Don't use deprecated python3.path() and execute(..., gui_app: ...).
* Build: Support VS2022 buildsChun-wei Fan2021-11-091-1/+3
| | | | Make these builds distinct from the Visual Studio 2019 builds.
* 2.70.02.70.0Kjell Ahlstedt2021-10-061-1/+1
|
* Glib, Gio: Add some methods for glibmm 2.70Kjell Ahlstedt2021-10-051-1/+8
| | | | | | | | | | | | | | | | | | * configure.ac: * meson.build: Require glib-2.0 >= 2.69.1. * glib/src/binding.[ccg|hg]: Add dup_source(), dup_target(), Deprecate get_source(), get_target(). * glib/src/spawn.[ccg|hg]: Change parameter name, exit_status to wait_status. * glib/src/timezone.[ccg|hg]: Add operator bool(), create_identifier(). Deprecate create(). * gio/src/fileinfo.hg: Add get/set_access_date(), get/set_creation_date(). * gio/src/notification.hg: Add set_category(). * gio/src/tlscertificate.hg: Add property/get_not_valid_before(), property/get_not_valid_after(), property/get_subject_name(), property/get_issuer_name(). * gio/src/tlsconnection.hg: Add enum Gio::TlsProtocolVersion, property/get_protocol_version(), property/get_ciphersuite_name(). * tools/m4/convert_gio.m4: Add conversion for enum TlsProtocolVersion.
* meson.build: Check if Perl is required for building documentationKjell Ahlstedt2021-08-171-1/+14
| | | | | | New versions of mm-common use the Python scripts doc_postprocess.py and doc_install.py instead of the Perl scripts doc-postprocess.pl and doc-install.pl when documentation is built.
* 2.68.12.68.1Kjell Ahlstedt2021-05-201-1/+1
|
* Add dependencies to Doxygen tag files in subprojectsKjell Ahlstedt2021-05-181-0/+2
| | | | | Doxygen in a main project shall not be called before tag files have been created or updated in subprojects.
* Fix build as subproject without building documentationKjell Ahlstedt2021-05-151-15/+19
| | | | | | | | | * meson.build: If mm-common-get is not found in maintainer-mode with 'required: false', try with 'required: true'. Don't try to use tag_file, if documentation is not built. * docs/reference/meson.build: Don't use variables from modules that don't define doxytagfile. These are subprojects that don't build their documentation.
* Clean up Visual Studio build filesChun-wei Fan2021-05-071-1/+1
| | | | | | Stop ignoring warnings C4251, C4273 and C4275 and add /EHsc in the compiler flags, so that we know if we are inadvertedly tying ourselves too closely to a Visual Studio compiler/STL version
* Subprojects can use meson.add_dist_script() if meson.version() >= 0.58.0Kjell Ahlstedt2021-05-051-5/+7
| | | | | | | | | | | * meson.build: * docs/reference/meson.build: * gio/giomm/meson.build: * glib/glibmm/meson.build: Call add_dist_script() in a subproject, if meson.version() >= 0.58.0. * tools/build_scripts/handle-built-files.py: Use MESON_PROJECT_DIST_ROOT if it exists, else MESON_DIST_ROOT. It exists if meson.version() >= 0.58.0.
* Meson build: Make it possible to use glibmm as a subprojectKjell Ahlstedt2021-03-121-1/+66
| | | | glib and sigc++ can be subprojects of glibmm.
* 2.68.02.68.0Kjell Ahlstedt2020-12-181-1/+1
|
* Change the ABI to glibmm-2.68Kjell Ahlstedt2020-12-111-2/+2
| | | | | | | So we can use the 2.66 version numbers for stable releases in the glibmm-2.4 ABI series. We've done similar ABI name changes several times before.
* Meson build: fix is_os_cocoa detectionTom Schoonjans2020-11-211-15/+1
| | | | | | | | The previous check didnt work as the compiler choked on the Objective-C code that was dragged in by the Cocoa headers. This patch simplifies things by simply asking what system the host is running on.
* Meson build: Fix versioning on macOSKjell Ahlstedt2020-09-301-1/+6
| | | | See https://github.com/libsigcplusplus/libsigcplusplus/pull/65
* Meson/Visual Studio builds: Include toolset version by defaultChun-wei Fan2020-06-181-0/+20
| | | | | | | | | | | | | | | | | | This makes the built DLL and .lib's contain the toolset version if the build is carried out using Visual Studio 2017 or later, unless the 'msvc14x-parallel-installable' option is set to be false during configuration. The reasoning behind this change is that there are subtle problems when, for instance, one tries to link to a Visual Studio 2017-built glibmm when building gtkmm and libxml++ with Visual Studio 2019. This is unfortunate as Microsoft did try hard to make interoperating between binaries built with Visual Studio 2015, 2017 and 2019 as easy as possible in terms of ABI and API, but unfortunately this hits the corner cases where this compatibility does not work. As the name suggests, this attempts to make Visual Studio 2017 and 2019 builds share a single set of underlying C DLLs easier, while avoiding breakages caused by such subtle differences.
* Meson build: Set default value of the 'warnings' option to 'min'Kjell Ahlstedt2020-04-051-3/+27
| | | | | | | | | * meson.build: Use dist-warnings when a tarball is tested by 'ninja dist' or 'meson dist'. Check if generate-binding.py exists, if not maintainer-mode. Add a better error message if mm-common-get is required but not found. * meson_options.txt: Set default value of the 'warnings' to 'min'. Add 'dist-warnings' with default value 'fatal'.
* 2.65.32.65.3Kjell Ahlstedt2020-03-221-1/+1
|
* Meson build: Install generate_extra_defs.hKjell Ahlstedt2020-03-191-1/+1
| | | | Fixes #70
* 2.65.22.65.2Kjell Ahlstedt2020-03-181-1/+1
|
* Change the ABI to glibmm-2.66Kjell Ahlstedt2020-03-171-2/+2
| | | | | | | | | So we can use the 2.64 version numbers for stable releases in the glibmm-2.4 ABI series. We don't need to release a stable ABI-parallel glibmm until we need to release gtkmm 4.0, and that won't happen until GTK 4.0.0 happens. We've done similar ABI name changes several times before.
* build: Drop gendefChun-wei Fan2020-03-071-1/+0
| | | | | We are now building glibmm without the use of gendef for all builds, so we can now drop gendef from the glibmm sources.
* build: Do not use gendef.exe for glibmmChun-wei Fan2020-03-071-1/+1
| | | | | | | | | | | Clean up the build files a bit and update the glibmmconfig.h.[in|meson] so that we use __declspec(dllexport) when GLIBMM_BUILD is defined (i.e. during the build of glibmm) on Visual Studio. Also, for the meson builds, disable warnings 4251 and 4275 as they all relate to building DLLs regarding symbol export, which is harmless as we know clearly that we are indeed building DLLs in our case, and we have already set GLIBMM_API appropriately
* meson: Use /utf-8 for Visual Studio buildsChun-wei Fan2020-03-051-1/+1
| | | | | | | | This way, we can avoid warning/error C4819 when building glibmm due to unicode handling issues in the compiler, which is likely to pop up on East Asian locales on Windows. We need to ignore warning C4828 when building gendef.exe though with this.
* meson.build: Tidy up a bitKjell Ahlstedt2020-03-021-9/+4
| | | | | The definitions of glibmm_build_dep, giomm_build_dep, glibmm_requires and giomm_requires can be simplified.
* tools: Fix 'meson dist'Chun-wei Fan2020-03-021-1/+1
| | | | | | | | | The former method of using gendef.exe to generate the import library for glibmm_generate_extra_defs somehow breaks 'meson dist' and builds from release tarballs, unless one builds giomm first. Fix this by using the __declspec(dll[ex|im]port) directives, since glibmm_generate_extra_defs is a simple utility library.
* meson: Build items in tools/extra_defs_gen on MSVC tooChun-wei Fan2020-03-021-1/+1
| | | | | | | | | | Ensure we can generate the import lib for glibmm_generate_extra_defs on Visual Studio builds by using the same technique we used for glibmm and giomm, and build the two programs that is to be built along side with it. Also re-order the items in meson.build a bit so that we are able to use our gendef tool.
* meson.build: Disable warning C4589 on Visual StudioChun-wei Fan2020-03-021-1/+1
| | | | This warning can be ignored as well.
* meson.build: Allow Visual Studio builds in GIT checkoutsChun-wei Fan2020-03-021-4/+0
| | | | | | It is now possible to build glibmm directly from GIT checkouts as long as there is a working m4 executable (such as fomr Cygwin or MSYS64), so we can allow builds directly from GIT checkouts.
* meson.build: Always look for libsigc++ via pkg-configChun-wei Fan2020-03-021-46/+3
| | | | | | We have Meson build support for libsigc++ before we got into this drive for Meson support for building glibmm, so let's just always look for libsigc++ with pkg-config.
* Add support for building glibmm with MesonKjell Ahlstedt2020-03-011-0/+314
glibmm can be built with either Autotools or Meson. See MR !27