Setup `/src/CmakeLists.txt` for variable usage

The cmake file in the source directory is now using the variable project
name.
This commit is contained in:
Jake Goodwin 2024-11-10 06:37:20 -08:00
parent cb8fa86c6f
commit c43df6e576
1 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
add_executable(main add_executable(${PROJECT_NAME}
main.c main.c
) )
# Ensure the build rules are defined
set_target_properties(${PROJECT_NAME} PROPERTIES SUFFIX ".elf")