diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..4384303 --- /dev/null +++ b/CMakeLists.txt @@ -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) diff --git a/meson.build b/meson.build new file mode 100644 index 0000000..126cb55 --- /dev/null +++ b/meson.build @@ -0,0 +1,7 @@ +project('pwdgen', 'c', default_options: 'c_args=-Wall') + +executable( + 'pwdgen', + 'src/main.c', + install: true, +)