Quoted CMake external objects path produces linker error

301 Views Asked by At

i 'm trying to build a simple main.project with YAGARTO, Cmake and Ecplise. The problem is that CMake quotes the path of my both sources:

add_executable(icejupi.elf main.c startup_stm32f10x_hd.s) 

like this (automatically genrated from CMAKE in build.make)

myProj_elf_OBJECTS = \
"CMakeFiles/myProj.elf.dir/main.c.obj" \
"CMakeFiles/myProj.elf.dir/startup_stm32f10x_hd.s.obj"

This kind of path quoting produced the following Linker-error:

arm-none-eabi-gcc.exe: error: No such file or directory

Is there anyway to tell CMake to not quoting the source-pathes??

0

There are 0 best solutions below