ASDV-Cpp/Assignments/MP4_CalebFontenot/CMakeLists.txt

24 lines
595 B
CMake

cmake_minimum_required(VERSION 3.29)
project(MP4_CalebFontenot)
set(CMAKE_CXX_STANDARD 23)
# Find Boost components
find_package(Boost REQUIRED COMPONENTS serialization)
add_executable(MP4_CalebFontenot main.cpp
userData.h
userData.cpp
simpleMenu.cpp)
# Include Boost directories
target_include_directories(MP4_CalebFontenot PRIVATE ${Boost_INCLUDE_DIRS})
# Link Boost libraries
target_link_libraries(MP4_CalebFontenot ${Boost_LIBRARIES})
add_compile_options(-fsanitize=address)
add_link_options(-fsanitize=address)
target_link_libraries(MP4_CalebFontenot ncurses)