Merge pull request 'added cmake and meson/ninja build' (#2) from build-systemd into main
Reviewed-on: https://gitea.home.com:3000/TolaMironcenko/pwdgen/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
commit
57d44a1a56
2 files changed
+17
No files matched your search
@@ -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)
|
||||
@@ -0,0 +1,7 @@
|
||||
project('pwdgen', 'c', default_options: 'c_args=-Wall')
|
||||
|
||||
executable(
|
||||
'pwdgen',
|
||||
'src/main.c',
|
||||
install: true,
|
||||
)
|
||||
Reference in new issue
Block a user