Add IDE configuration for CLion (#2679)

* add clion config.

* add gitignore for clion
This commit is contained in:
Jiuyang Liu 2022-03-02 00:33:58 +08:00 committed by GitHub
parent 0dff6bb8a6
commit ed5a74b51b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
/docker_build
tags
.vscode
.idea
compile_commands.json
.cache/
#*

8
.idea/cmake.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeSharedSettings">
<configurations>
<configuration PROFILE_NAME="CIRCT" ENABLED="true" GENERATION_DIR="$PROJECT_DIR$/build" GENERATION_OPTIONS="-G Ninja -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_ENABLE_OCAMLDOC=OFF -DLLVM_ENABLE_BINDINGS=OFF -DLLVM_BUILD_TOOLS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_INCLUDE_TOOLS=ON -DLLVM_USE_SPLIT_DWARF=ON -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_CCACHE_BUILD=ON -DLLVM_EXTERNAL_PROJECTS=circt -DLLVM_EXTERNAL_CIRCT_SOURCE_DIR=$PROJECT_DIR$" />
</configurations>
</component>
</project>

13
.idea/misc.xml Normal file
View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$/llvm/llvm">
<contentRoot DIR="$PROJECT_DIR$" />
</component>
<component name="CidrRootsConfiguration">
<sourceRoots>
<file path="$PROJECT_DIR$/build/include" />
<file path="$PROJECT_DIR$/build/tools/circt/include" />
<file path="$PROJECT_DIR$/build/tools/mlir/include" />
</sourceRoots>
</component>
</project>