cmake_minimum_required(VERSION 4.2) project(Text-Adventure) set(SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp) add_executable(Text-Adventure ${SOURCES}) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/Engine) target_link_libraries(Text-Adventure PUBLIC Engine)