C
--no-export-configuration
説明
デフォルトでは、qmlprojectexporterはディレクトリ "config "を生成します:
- projectname.1.inputs.txt:入力ファイル(Qmlソース、イメージなど)
- projectname.1.compiler_outputs.txt:生成ファイル(C++ソース、ヘッダー)
- projectname.1.libraries.txt:アプリケーションのビルド時にビルドシステムがリンクする必要のあるライブラリ
- projectname.1.linker_options.txt:リンカーに渡すオプション。
サードパーティのビルド・システムは、これらのプレーン・テキスト・ファイルを解析して依存性ツリーを生成することができます。プロジェクトを手動で設定するときにも、これらのファイルを使うことができます。
プロジェクトがモジュールを使用する場合、すべてのモジュールの設定ファイルも同じ「output/config」ディレクトリにあります。
使い方
// Running the following command will generate c++ files, // but not the config files listed earlier, See also \l --no-export-cpp. qmlprojectexporter --no-export-configuration --outdir output-dir my_project.qmlproject
このオプションは
このオプションは QmlProject API 1.3 で導入されました。