1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
version_conf = configuration_data()
version_conf.set('MAJOR_VERSION', splitted_version[0])
version_conf.set('MINOR_VERSION', splitted_version[1])
if splitted_version.length() >= 3
version_conf.set('PATCH_VERSION', splitted_version[2])
else
version_conf.set('PATCH_VERSION', '0')
endif
version_h = configure_file(input: 'version.h.in', output: 'version.h', configuration: version_conf)
install_headers(
'async.h',
'audio_format.h',
'client.h',
'capabilities.h',
'compiler.h',
'connection.h',
'database.h',
'directory.h',
'entity.h',
'error.h',
'fingerprint.h',
'idle.h',
'list.h',
'mixer.h',
'mount.h',
'neighbor.h',
'parser.h',
'partition.h',
'password.h',
'player.h',
'playlist.h',
'position.h',
'protocol.h',
'queue.h',
'recv.h',
'replay_gain.h',
'response.h',
'send.h',
'status.h',
'stats.h',
'tag.h',
'output.h',
'pair.h',
'search.h',
'socket.h',
'song.h',
'sticker.h',
'settings.h',
'message.h',
'binary.h',
'albumart.h',
'readpicture.h',
version_h,
subdir: 'mpd',
)
|