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:
parent
cb8fa86c6f
commit
c43df6e576
|
@ -1,3 +1,8 @@
|
|||
add_executable(main
|
||||
add_executable(${PROJECT_NAME}
|
||||
main.c
|
||||
)
|
||||
|
||||
# Ensure the build rules are defined
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES SUFFIX ".elf")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue