Skip to content

Gcc precompiled headers #2489

@bdbaddog

Description

@bdbaddog

This issue was originally created at: 2009-09-23 12:43:58.
This issue was reported by: overmind.

overmind said at 2009-09-23 12:43:58

The basic SCons package supports only the MSVC precompiled packages; however, there is a tool named 'Gch' that does the same thing for GCC-based compilers. Both have a very similar syntax. Couldn't they be merged into one standard tool?

This would improve SCons portability. Also, if such a tool would be created, it would be better to force the precompiled header pre-inclusion in the source files (like GCC's -include option); this would simplify porting the Qt programs to SCons, for example, because its MetaObject Compiler don't include the PCH into the generated source (the only option now is using '-include' directly, but this makes the build script GCC-bound).

gregnoel said at 2009-12-09 14:58:14

Bug party triage. Good idea, but it's very unlikely that core developer time will be available to work on it in the near term.

weegreenblobbie said at 2013-03-29 09:46:30 Created an attachment (id=917)

GCH tool, pulled from scons-users discussion topic

weegreenblobbie said at 2013-03-29 09:48:09 Attached the GCH tool pulled from the scons-users discussion topic.

Votes for this issue: 2.

weegreenblobbie attached gch.py at 2013-03-29 09:46:30.

GCH tool, pulled from scons-users discussion topic

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToolsIssues related to tools subsystemenhancementhas patchIssue has attached PatchpchPre-compiled header support

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions