diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2020-09-06 16:58:21 +0300 |
---|---|---|
committer | Henrik Gramner <henrik@gramner.com> | 2020-09-06 16:58:21 +0300 |
commit | 8c2a89768692b0b1a7f9a1a0985d99319bd2918d (patch) | |
tree | e15a8a152eb88e79711d8dbbd2742185862bdb1d /meson.build | |
parent | 856662b429dc016e366332f9648ac590ce5d6c92 (diff) |
cli: Add support for Unicode and long paths on Windows 10
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 5b5bcd1..51ff25d 100644 --- a/meson.build +++ b/meson.build @@ -118,6 +118,17 @@ if host_machine.system() == 'windows' thread_compat_dep = declare_dependency(sources : files('src/win32/thread.c')) rt_dependency = [] + + rc_version_array = meson.project_version().split('.') + winmod = import('windows') + rc_data = configuration_data() + rc_data.set('PROJECT_VERSION_MAJOR', rc_version_array[0]) + rc_data.set('PROJECT_VERSION_MINOR', rc_version_array[1]) + rc_data.set('PROJECT_VERSION_REVISION', rc_version_array[2]) + rc_data.set('API_VERSION_MAJOR', dav1d_api_version_major) + rc_data.set('API_VERSION_MINOR', dav1d_api_version_minor) + rc_data.set('API_VERSION_REVISION', dav1d_api_version_revision) + rc_data.set('COPYRIGHT_YEARS', '2020') else thread_dependency = dependency('threads') thread_compat_dep = [] |