CS207-HW3/CMakeLists.txt

25 lines
567 B
CMake
Raw Normal View History

2024-12-04 08:51:16 +00:00
# Minimum required version of CMake
cmake_minimum_required(VERSION 3.10)
# Project name
project(ClinicProject)
# Set the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# Add the executable target for the project
add_executable(ClinicApp
main.cpp
Clinic.cpp
Patient.cpp
Visit.cpp
)
# Include directories if necessary (e.g., for .hpp files)
include_directories(${CMAKE_SOURCE_DIR})
# If you have any custom configurations or testing requirements,
# you can define them here, such as linking libraries or adding flags.