removed uneeded lines.
This commit is contained in:
parent
de1e09c265
commit
968570e898
1 changed files with 0 additions and 6 deletions
|
@ -6,11 +6,9 @@ add_executable(${PROJECT_NAME}
|
|||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC
|
||||
${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/extralibs
|
||||
)
|
||||
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
#ch32fun
|
||||
)
|
||||
|
||||
target_compile_options(${PROJECT_NAME} PUBLIC
|
||||
|
@ -26,11 +24,7 @@ target_compile_options(${PROJECT_NAME} PUBLIC
|
|||
-DCH32V003=1
|
||||
-static-libgcc
|
||||
-nostdlib
|
||||
#-Wl,--print-memory-usage
|
||||
#-Wl,-Map=${PROJECT_NAME}.map
|
||||
-lgcc
|
||||
#-Wl,--gc-sections
|
||||
#-T${CMAKE_SOURCE_DIR}/src/linker_script.ld
|
||||
)
|
||||
|
||||
target_link_options(${PROJECT_NAME} PUBLIC
|
||||
|
|
Loading…
Add table
Reference in a new issue