25 lines
567 B
CMake
25 lines
567 B
CMake
# 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.
|