[Scons-users] SCons integration with IAR

Mats Wichmann mats at wichmann.us
Fri Jan 17 10:56:11 EST 2020


On 1/17/20 4:12 AM, Akumalla Arjuman Banu via Scons-users wrote:
> Can anyone tell me how to integrate SCons with IAR?
> I know scons can be integrated with codeblocks and visual studio. But I 
> am not getting detailed information regarding IAR IDE integration with 
> SCons. If there are any websites or forums, Please share here.


It really matters what you mean by "integrate with". So please clarify 
that question as well.

e.g. SCons does know how to generate project files for Visual Studio, 
although I'd have some doubts if that information was current enough to 
be useful on say VS 2019; Visual Studio doesn't "know" anything about 
SCons, however.

IDEs in general don't know SCons' API, so they won't do code completion 
on it.  You can slightly improve that by naming your build scripts 
(SConstruct/SConscript) with a .py suffix, which will at least leave the 
IDE thinking it's editing a Python script.  There may also be a way to 
"teach" your IDE that such files (without the suffix) are Python files.


More information about the Scons-users mailing list