summaryrefslogtreecommitdiffstats
path: root/win32/meson.build
blob: 922631201ec5d600be799ce4cb56bb77272a5dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
version_arr = meson.project_version().split('.')
version_config = configuration_data()
version_config.set('PL_MAJOR', version_arr[0])
version_config.set('PL_MINOR', version_arr[1])
version_config.set('PL_PATCH', version_arr[2])

libplacebo_rc = configure_file(input: 'libplacebo.rc.in',
                               output: 'libplacebo.rc',
                               configuration: version_config)
demos_rc =  configure_file(input: 'demos.rc.in',
                           output: 'demos.rc',
                           configuration: version_config)