# 外部源文件

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/clion/llms.txt).

如果您的项目使用位于 [项目根目录](project.html#ProjectRootDirectory)之外的源文件，CLion 会将它们或相应的目录按照文件系统中的存在情况添加到 [项目树](project-tool-window.html)中：

![项目树中的外部源](https://resources.jetbrains.com/help/img/idea/2026.3/cl_outsideroot_tree.png)

## See also

### 参考

[项目工具窗口](project-tool-window.html)

