mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
optimize project build file
This commit is contained in:
parent
e92db2c74e
commit
429bf18ffe
3 changed files with 8 additions and 1 deletions
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'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue