User Tools

Site Tools


platform_support

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
platform_support [2017/10/30 17:53]
Mats Wichmann [3.1 Use of ''os.path.join'' in SConscript files]
platform_support [2017/10/30 18:50] (current)
Mats Wichmann [3.2 Use of target_os in SConscript files]
Line 67: Line 67:
   - Use exclusion when the functionality ought to apply but doesn'​t yet because some porting work has not yet been done.   - Use exclusion when the functionality ought to apply but doesn'​t yet because some porting work has not yet been done.
   - Use inclusion when the functionality is inherently specific to one or more specific OS's   - Use inclusion when the functionality is inherently specific to one or more specific OS's
 +  - Try to avoid long inclusion / exclusion lists, that usually means the "​special case" was not so special, and the target check possibly should be inverted. ​ With over 200 build scripts, it becomes a pain to find and modify all the places if something changes like a new platform or state change in existing platform.
  
 ==== 3.3 Use of OS-specific ifdefs in code ==== ==== 3.3 Use of OS-specific ifdefs in code ====
platform_support.txt ยท Last modified: 2017/10/30 18:50 by Mats Wichmann