Hi,<br>I use armcc to compile webkit. <br>It need to support options "--md --depend=$(@:%.o=%.d)" which in rules<br>.c.o:<br> $(CC) $(CFLAGS) -o $@ $<<br>will be replaced its name to object name to create right dependence file.<br>
<br>e.g compile test.c<br>then before compiling, it will be changed into "--md --depend=test.d".<br><br>I use add_definitions to add the options. But it's not replaced in .c.o rules. <br>Just passing to compiler armcc directly. <br>
<br>Any suggestions? Should I need to define my own CMAKE_C_COMPILE_OBJECT?<br><br>I tried to search over internet, but can't find the answer.<br><br>Thanks for your help.<br><br><br>B.R,<br>Tao<br><br><br><br>