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