optimize project build file

This commit is contained in:
DreamMaoMao committed 2025-02-04 13:36:44 +08:00
1 parent e92db2c74e
commit 429bf18ffe
3 files changed
+7

No files matched your search

+1
View File
@@ -1,2 +1,3 @@
/.cache
/.vscode
config.h
View File
File renamed without changes.
+6
View File
@@ -4,6 +4,12 @@ project('plume', ['c', 'cpp'],
subdir('protocols')
fs = import('fs')
if not fs.exists('config.h')
run_command('cp', 'config.def.h', 'config.h', check: true)
endif
cc = meson.get_compiler('c')
libm = cc.find_library('m')
xcb = dependency('xcb', required : get_option('xwayland'))