From f1e5a8e03d28be22f5bcbbe5b1682e49322d01cc Mon Sep 17 00:00:00 2001 From: fengqiangguo Date: Sun, 6 Aug 2023 11:21:28 +0800 Subject: [PATCH] Add Comments. --- 03.AbstractFactory/2.Code/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/03.AbstractFactory/2.Code/CMakeLists.txt b/03.AbstractFactory/2.Code/CMakeLists.txt index ce807c8..ad966c4 100644 --- a/03.AbstractFactory/2.Code/CMakeLists.txt +++ b/03.AbstractFactory/2.Code/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required(VERSION 3.10) + +# 指定C++版本 set(CMAKE_CXX_STANDARD 11) project(AbstractFatory) @@ -6,5 +8,7 @@ project(AbstractFatory) set(SRC_LIST main.cpp) add_executable(app ${SRC_LIST}) + +# 指定可执行文件的输出路径,相对路径是相对makefile文件位置的路径 set(WORK_DIR ../) set(EXECUTABLE_OUTPUT_PATH ${WORK_DIR})