# A way to reload toolchain file without removing downloaded dependencies

**URL:** https://discourse.cmake.org/t/a-way-to-reload-toolchain-file-without-removing-downloaded-dependencies/4553
**Category:** Usage
**Tags:** tool:cmake
**Created:** [November 26, 2021, 9:24am UTC](https://discourse.cmake.org/t/a-way-to-reload-toolchain-file-without-removing-downloaded-dependencies/4553 "2021-11-26T09:24:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![KKoovalsky](https://discourse.cmake.org/user_avatar/discourse.cmake.org/kkoovalsky/32/1108_2.png) [@KKoovalsky](https://discourse.cmake.org/u/KKoovalsky)
#### Post date: [November 26, 2021, 9:24am UTC](https://discourse.cmake.org/t/a-way-to-reload-toolchain-file-without-removing-downloaded-dependencies/4553/1 "2021-11-26T09:24:11Z")

</div>

Hello!

Is there a way to quickly reload the toolchain file, after applying some changes?

Normally I do it like this:

```auto
# Remove everything except dependencies downloaded with FetchContent module.
rm -rf !(_deps) 
# Inside the "_deps" directory ...
cd _deps
# ... remove all build and subbuild directories, leaving "*-src" directories effectively.
rm -rf *build && cd ..

```

This seems OK, but during configure and generate steps some large projects downloaded with `FetchContent`, like LLVM or ARM GNU GCC toolchain, still clog the “configure” stage.

Is there some workaround?
