Add Comments.
parent
9e63f8d35a
commit
f1e5a8e03d
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue