cmake_minimum_required(VERSION 3.29) project(Vanilla C CXX) set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") add_subdirectory(server) add_subdirectory(client)