From 841391870e41116017f8c1eb1637bcc985d2027b Mon Sep 17 00:00:00 2001 From: antao Date: Wed, 12 Sep 2018 10:31:30 +0800 Subject: [PATCH] Modify drogon_ctl --- drogon_ctl/create_project.cc | 67 +++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 21 deletions(-) diff --git a/drogon_ctl/create_project.cc b/drogon_ctl/create_project.cc index a5ac377a..ad4826c0 100644 --- a/drogon_ctl/create_project.cc +++ b/drogon_ctl/create_project.cc @@ -19,27 +19,52 @@ void create_project::handleCommand(std::vector ¶meters) } static void newCmakeFile(std::ofstream &cmakeFile,const std::string &projectName) { - cmakeFile<<"cmake_minimum_required(VERSION 3.2)\n" - "Project("<