A RTT Engineering Management
RTT adopts scons management engineering.
This installation version: Python-2.7.3.1.exe,python-2.7.11.msi,scons-2.3.1-setup.exe
After the installation is complete, you need to add path (C:\Python27\Scripts) to the environment variable.
Use cmd under SCons to verify that the installation is correct.
SCons through Sconscript and sconstruct files to organize the source structure, usually a project only one said construct, but there are many sconscript.
1, RTT configuration is configured through Rtconfig.h, scons read rtconfig.h to load components or remove components.
2, rtconfig.py to compile the environment configuration, as well as compile options, global macros and other operations.
3, sconstruct to do some directory configuration.
4, Sconscript to compile control, control directory and file Add.
5, sconscript corresponding to Keil a sub-directory.
Two SCons Basic Usage
Scons–c clears the compilation target. This command clears the temporary and target files that were generated when the scons was executed.
Scons–target=mdk4–s Generate MDK Project file: Project.uvproj. You also need to use this command to regenerate the project when you modify rtconfig.h to open or close some components.
Scons–target=iar–s
Scons–target=vs2012–s
Scons–target=vs2005–s under Bsp/simulator, you can use this command to generate vs2012 works or VS2005 projects.
RTT Engineering Management