CLion 2020.2 Help

プロジェクト・フォーマット

CLion incorporates a set of smart features, many of which depend on project-level information (included files, compiler flags, and linker options). This information allows CLion to parse/resolve your code correctly and therefore highlight, auto-complete, inspect, and navigate through it in an error-free and convenient way.

CLionは独自のプロジェクトモデルをコードに提供するのではなく、次の形式をサポートしています。

In addition, you can set up custom build targets that call external tools to perform build and clean, and create カスタム実行/デバッグ構成 for such targets. As custom targets are independent of any particular build system, they can, for example, provide the functionality of building and running for your compilation database projects.

The table below shows how various project-level, remote, and dynamic analysis features are supported for each of the project formats (compilation database is referred to as CompDB for brevity). This table doesn't include リモート GDB / gdbserver , since it's implementation in CLion works completely independent from any project model.

For Google Sanitizers and コード・カバレッジ , some project formats are marked with a yellow check visualized output unavailable . It means that even though you can configure these features and get results in CLion, the output will be logged to console in plain text. The visualization of sanitizers and code coverage output is available for CMake projects only.

Also, note that some of the features marked as supported feature is supported may not work out-of-the-box, and you will need to perform additional configuration steps before starting to use them.

CMakeCompDBCompDB with custom targets and configurationsGradleMakefile
Open
project
feature is supported
feature is supported
feature is supported
feature is supported
feature is supported
New project
wizard
feature is supported
feature is not supported
feature is not supported
feature is not supported
feature is not supported
ビルド
feature is supported
feature is not supported
feature is supported
feature is supported
feature is supported
Run / Debug
feature is supported
feature is not supported
feature is supported
feature is supported
feature is supported
WSL
feature is supported
feature is supported
feature is supported
feature is not supported
feature is supported
Full remote mode
feature is supported
feature is not supported
feature is not supported
feature is not supported
feature is not supported
Valgrind Memcheck
feature is supported
feature is not supported
feature is supported
feature is supported
feature is supported
プロファイラー
feature is supported
feature is not supported
feature is supported
feature is supported
feature is supported
Sanitizers
feature is supported
feature is not supported
visualized output unavailable
feature is not supported
visualized output unavailable
コード・カバレッジ
feature is supported
feature is not supported
feature is not supported
feature is not supported
feature is not supported
最終更新日: 2020年7月17日

関連ページ:

クイックCMakeチュートリアル

このチュートリアルは簡単なCMakeプロジェクトの作成と開発のプロセスを通してあなたを導きます。ステップバイステップで、ビルドシステムとしてのCMakeの基本と、CMakeプロジェクトのためのCLion設定およびアクションを学びます。以下で使用されるサンプルプロジェクトのソースコードは、GitHub...

Gradleサポート

GradleはC/C++ライブラリとアプリケーションを構築するためのプラグインを提供する構築自動化システムです。CLionでは、cpp-applicationおよびcpp-libraryプラグインをベースにしたGradleプロジェクトを操作できます(C/C++ Gradleプラグインの詳細については...

Compilation Database

If you are working with a project which is not based onCMake,Gradle, orMakefile, you can still benefit from the advanced IDE features that CLion provi...

Makefile

You can loadMakefileprojects in CLion and benefit from all the smart features the IDE provides.Note that Makefiles support in CLion is in its early st...

カスタムビルドターゲットとアプリケーション

カスタムビルドターゲットは、特定のビルドシステムやプロジェクトモデルに依存しません。CLionは、ソースのビルドとビルドアーティファクトのクリーニングに選択した外部ツールを使用します。カスタムターゲットは、compilation databaseプロジェクトで特に役立ちます。compile_comm...

リモート開発

CLionのリモート開発にはいくつかのオプションがあり、それぞれが特定のセットアップのサブセットを対象としています:フルリモートモード、WSL、およびGDB / gdbserverを使用する2つのバリアント、GDB リモートデバッグおよびリモート GDBサーバー。これらのオプションを比較し、最適なオ...