DesignPattern/18.MediatorPattern/2.Code/CMakeLists.txt

9 lines
337 B
CMake

cmake_minimum_required(VERSION 3.15)
project(BuilderPattern)
file(GLOB SRC_LIST ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
get_filename_component(FOLDER_NAME ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
get_filename_component(FOLDER_NAME ${FOLDER_NAME} NAME)
set(EXECUTABLE_OUTPUT_PATH ${OUTPUT_DIR}/${FOLDER_NAME})
add_executable(app18 ${SRC_LIST})