![]() |
Home · Overviews · Reference · Classes | ![]() |
The cpp_compiler extension handles interaction with the C/C++ compiler.
The cpp_compiler creates the following rules.
| Rule name | User rule | Description |
|---|---|---|
| objects | Yes | |
| clean_objects | Yes | |
| force_clean_objects | Yes | |
| target | Yes | |
| compiler_depends_depends | No | |
| compiler_source_depends | No |
| Type | Name | Description |
|---|---|---|
| Input | TARGETDIR | Output directory for linked binaries. If omitted the project directory is used. |
| Input | TARGET | Target name. |
| Input | TYPE == COMPILER_CONFIG | Used to propagate compiler configuration |
| Input | COMPILER.OUTPUT | exe, lib or staticlib |
| Output | COMPILER.CFLAGS | |
| Output | COMPILER.CXXFLAGS | |
| Output | COMPILER.DEFINES | |
| Output | COMPILER.LFLAGS | |
| Output | COMPILER.INCLUDEPATH.DEPENDS_RULES | |
| Output | COMPILER.INCLUDEPATH | |
| Output | COMPILER.SOURCE_DEPENDS | |
| Output | COMPILER.SOURCE_DEPENDS_RULES | |
| Output | COMPILER.LIBS | |
| Output | COMPILER.LIBS.DEPENDS_RULES | |
| Output | COMPILER.TARGETDIR | |
| Output | COMPILER.OBJDIR | |
| Output | COMPILER.DEPDIR | |
| Output | COMPILER.TARGET | |
| Output | COMPILER.VERSION | (lib/staticlib) |
| Output | COMPILER.STATICLIB | (staticlib) |
| Output | COMPILER.SHAREDLIB | (lib) |
| Output | COMPILER.SHAREDLIB_SONAME | (lib) |
| Output | COMPILER.EXECUTABLE | (exe) |
| Output | COMPILER.ARGS_TEST_FILE |
See also QBuild Extensions and QBuild Script.
| Copyright © 2009 Trolltech | Qt Extended - QBuild Maintainer Guide |