Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
e0edf0b2
Commit
e0edf0b2
authored
May 05, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson.build: move VERSION and others to Version.h
parent
4e9fa361
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
4 deletions
+13
-4
meson.build
meson.build
+7
-4
CommandLine.cxx
src/CommandLine.cxx
+1
-0
LogBackend.cxx
src/LogBackend.cxx
+1
-0
New.cxx
src/client/New.cxx
+1
-0
DatabaseSave.cxx
src/db/plugins/simple/DatabaseSave.cxx
+1
-0
MikmodDecoderPlugin.cxx
src/decoder/plugins/MikmodDecoderPlugin.cxx
+1
-0
Request.cxx
src/lib/curl/Request.cxx
+1
-0
No files found.
meson.build
View file @
e0edf0b2
...
...
@@ -21,11 +21,14 @@ elif compiler.get_id() == 'clang' and compiler.version().version_compare('<4')
warning('Your clang version is too old. You need at least version 4.')
endif
version_conf = configuration_data()
version_conf.set_quoted('PACKAGE', meson.project_name())
version_conf.set_quoted('PACKAGE_NAME', meson.project_name())
version_conf.set_quoted('VERSION', meson.project_version())
version_conf.set_quoted('PROTOCOL_VERSION', '0.22.0')
configure_file(output: 'Version.h', configuration: version_conf)
conf = configuration_data()
conf.set_quoted('PACKAGE', meson.project_name())
conf.set_quoted('PACKAGE_NAME', meson.project_name())
conf.set_quoted('VERSION', meson.project_version())
conf.set_quoted('PROTOCOL_VERSION', '0.22.0')
conf.set_quoted('SYSTEM_CONFIG_FILE_LOCATION', join_paths(get_option('prefix'), get_option('sysconfdir'), 'mpd.conf'))
common_cppflags = [
...
...
src/CommandLine.cxx
View file @
e0edf0b2
...
...
@@ -40,6 +40,7 @@
#include "util/Domain.hxx"
#include "util/OptionDef.hxx"
#include "util/OptionParser.hxx"
#include "Version.h"
#ifdef _WIN32
#include "system/Error.hxx"
...
...
src/LogBackend.cxx
View file @
e0edf0b2
...
...
@@ -21,6 +21,7 @@
#include "Log.hxx"
#include "util/Domain.hxx"
#include "util/StringStrip.hxx"
#include "Version.h"
#include "config.h"
#include <cassert>
...
...
src/client/New.cxx
View file @
e0edf0b2
...
...
@@ -28,6 +28,7 @@
#include "net/SocketAddress.hxx"
#include "net/ToString.hxx"
#include "Log.hxx"
#include "Version.h"
#include <cassert>
...
...
src/db/plugins/simple/DatabaseSave.cxx
View file @
e0edf0b2
...
...
@@ -27,6 +27,7 @@
#include "fs/Charset.hxx"
#include "util/StringCompare.hxx"
#include "util/RuntimeError.hxx"
#include "Version.h"
#include <string.h>
#include <stdlib.h>
...
...
src/decoder/plugins/MikmodDecoderPlugin.cxx
View file @
e0edf0b2
...
...
@@ -26,6 +26,7 @@
#include "util/RuntimeError.hxx"
#include "util/StringView.hxx"
#include "Log.hxx"
#include "Version.h"
#include <mikmod.h>
...
...
src/lib/curl/Request.cxx
View file @
e0edf0b2
...
...
@@ -36,6 +36,7 @@
#include "util/StringStrip.hxx"
#include "util/StringView.hxx"
#include "util/CharUtil.hxx"
#include "Version.h"
#include <curl/curl.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment