optimize project build file
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/.cache
|
||||
/.vscode
|
||||
/.vscode
|
||||
config.h
|
||||
|
||||
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user