Display and control your Android device
Provide config.h.in for old meson versions
Romain Vimont396df8a9d842
diff --git a/app/meson.build b/app/meson.buildindex 3e03bd91..31fea04a 100644--- a/app/meson.build+++ b/app/meson.build@@ -59,7 +59,7 @@ conf.set('DEFAULT_BIT_RATE', '4000000') # 4Mbps# SKIP_FRAMES improves latency at the cost of framerateconf.set('SKIP_FRAMES', true)-configure_file(configuration: conf, output: 'config.h')+configure_file(configuration: conf, input: 'src/config.h.in', output: 'config.h')executable('scrcpy', src, dependencies: dependencies)diff --git a/app/src/config.h.in b/app/src/config.h.innew file mode 100644index 00000000..cb8ea5f0--- /dev/null+++ b/app/src/config.h.in@@ -0,0 +1,6 @@+#mesondefine BUILD_DEBUG+#mesondefine SCRCPY_VERSION+#mesondefine DEFAULT_LOCAL_PORT+#mesondefine DEFAULT_MAX_SIZE+#mesondefine DEFAULT_BIT_RATE+#mesondefine SKIP_FRAMES