ASM: No include dependecies tracking for the source files
My project is written on assembler. There is no C compiler for target architecture. I try to build project by CMake, but have an issue: CMake does not track
.incbin directives (of GNU Assembler) in the sources. GNU Assembler have support for
-MD <file> option which generates dependency file. But it is not used by CMake. Moreover, I found ASM.includechache file in the build directory. It contains:
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) #IncludeRegexScan: ^.*$ #IncludeRegexComplain: ^$ #IncludeRegexTransform: /home/user/test.s
It is incorrect for assembler. I try found which module generate this file, but nothing found.
I attach simple test case for the issue. To reproduce:
- Unpack, configure and build
- Change test.inc and build again. Expected: target is rebuilt Actual: no second build is done.