diff options
| author | Andres Freund <andres@anarazel.de> | 2022-10-05 09:56:05 -0700 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2022-10-05 09:56:05 -0700 |
| commit | 902ab2fcef33b1e7c290af8d280e67d9f9212bcf (patch) | |
| tree | 5797c322cf01409849f1ad3fbed4a1eb1a6760fa /src/test/modules/test_parser | |
| parent | a1261cd16f07f6db12a54b94d9e36175198951b4 (diff) | |
meson: Add windows resource files
The generated resource files aren't exactly the same ones as the old
buildsystems generate. Previously "InternalName" and "OriginalFileName" were
mostly wrong / not set (despite being required), but that was hard to fix in
at least the make build. Additionally, the meson build falls back to a
"auto-generated" description when not set, and doesn't set it in a few cases -
unlikely that anybody looks at these descriptions in detail.
Author: Andres Freund <andres@anarazel.de>
Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Diffstat (limited to 'src/test/modules/test_parser')
| -rw-r--r-- | src/test/modules/test_parser/meson.build | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/test/modules/test_parser/meson.build b/src/test/modules/test_parser/meson.build index b59960f615e..1c17113347f 100644 --- a/src/test/modules/test_parser/meson.build +++ b/src/test/modules/test_parser/meson.build @@ -1,6 +1,17 @@ # FIXME: prevent install during main install, but not during test :/ + +test_parser_sources = files( + 'test_parser.c', +) + +if host_system == 'windows' + test_parser_sources += rc_lib_gen.process(win32ver_rc, extra_args: [ + '--NAME', 'test_parser', + '--FILEDESC', 'test_parser - example of a custom parser for full-text search',]) +endif + test_parser = shared_module('test_parser', - ['test_parser.c'], + test_parser_sources, kwargs: pg_mod_args, ) testprep_targets += test_parser |
