adding in meson building for easier dependency management

This commit is contained in:
talksik
2023-07-23 07:04:34 -07:00
parent 840a379791
commit e23e7d57f3
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
project('flowy', 'cpp')
gtkmm_dep = dependency('gtkmm-4.0', version: '>= 4.6.0')
exe_file = executable('flowy',
'src/main.cpp',
dependencies: gtkmm_dep,
win_subsystem: 'windows',
)
Executable
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# incase it's not set up already
meson setup build
echo "Compiling..."
cd build
meson compile
echo "Running..."
./flowy