diff --git a/15.CommandPattern/2.Code/CMakeLists.txt b/15.CommandPattern/2.Code/CMakeLists.txt new file mode 100644 index 0000000..e6420d5 --- /dev/null +++ b/15.CommandPattern/2.Code/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.17) +project(Command) + +message(STATUS "start building......") + +set(OUT_DIR ../) +set(EXECUTABLE_OUTPUT_PATH ${OUT_DIR}/bin) + +file(GLOB SRC_LIST ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) +add_executable(app ${SRC_LIST})