added cmake and meson/ninja build #2

Merged
wt merged 1 commits from build-systemd into main 2025-04-16 18:10:09 +07:00
2 changed files with 17 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.6)
project(pwdgen)
set(CMAKE_C_FLAGS "-Wall")
add_executable(
pwdgen
src/main.c
)
install(TARGETS pwdgen DESTINATION bin)
+7
View File
@@ -0,0 +1,7 @@
project('pwdgen', 'c', default_options: 'c_args=-Wall')
executable(
'pwdgen',
'src/main.c',
install: true,
)