[Scons-users] How remove defalut target from Object function

Yu,Zhiwei (YFI,Shanghai,CN) zhiwei.yu at yanfeng.com
Sun Sep 24 08:49:36 EDT 2023


Hi Guys,

    I am trying to use Scons with IAR, IAR is a embedded IDE.
    For iccarm(IAR compiler), It's unnecessary to set target name, I just set the directory of object file.
    For example,
       iccarm.exe -o /Debug/Obj   /Src/main.c
    But if I don't set target file name, Scons will set default target file directory and name which base on the source file.
    I want to use iccarm method that set the target directory only, and remove default object file name from Object function.
    How can I do it.

    Thanks!


Best Regards!


于志伟

Software Engineer

延锋科技

------------------------------------

zhiwei_yu at yanfeng.com<mailto:zhiwei_yu at yanfeng.com>



[YF_logo_PNG]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20230924/6dc3436e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-YF_logo_PN.png
Type: image/png
Size: 5412 bytes
Desc: Outlook-YF_logo_PN.png
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20230924/6dc3436e/attachment.png>


More information about the Scons-users mailing list