diff --git a/src/arguments.cpp b/src/arguments.cpp index df5b5b6..25507f3 100644 --- a/src/arguments.cpp +++ b/src/arguments.cpp @@ -36,6 +36,9 @@ const char *handle_args(int argc, char **argv) { auto ret = cmkr::gen::generate_project(type.c_str()); if (ret) return "Initialization failure!"; + ret = cmkr::gen::generate_cmake(fs::current_path().string().c_str()); + if (ret) + return "CMake generation error!"; return "Directory initialized!"; } else if (main_arg == "build") { auto ret = build::run(argc, argv);