# Set the minimum required CMake version
cmake_minimum_required(VERSION 3.12)

# Set the project name
project(ram_loader)

# Add the source files for the library
set(SOURCES
    ram_loader.c
)

# Add the header files for the library
set(HEADERS
    ram_loader.h
)

# Create the library target
add_library(ram_loader ${SOURCES} ${HEADERS})

# Set the include directories for the library
target_include_directories(ram_loader PUBLIC ./)

# Set any additional compiler flags or options
# target_compile_options(${PROJECT_NAME} PRIVATE ...)

# Set any additional linker flags or options
# target_link_options(${PROJECT_NAME} PRIVATE ...)

# Specify any dependencies for the library
# target_link_libraries(${PROJECT_NAME} <dependency1> <dependency2> ...)

# Optionally, add an executable target for testing
# add_executable(test_ram_loader test/test_ram_loader.cpp)
# target_link_libraries(test_ram_loader ${PROJECT_NAME})