Hi,
I wanted to see if there is a way I can change the default build directory for a CMake project. Currently, everything goes to the cmake-build_$(ConfigurationName) folder. I can change the binary output directory by tweaking the CMakeLists.tx file, but I can't seem to find a way in the Project Settings or using CMakeLists.txt to define where the intermediate files (such as the Makefile and the object files) would end up. They always go to cmake-build_$(ConfigurationName).
I don't really need that for anything specific. I am just trying to better understand how CodeLite works since I am fairly new to using it.
Change CMake build directory
-
- CodeLite Curious
- Posts: 2
- Joined: Thu Apr 09, 2020 3:50 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Change CMake build directory
It's currently hard coded.
I can make the *name* configurable, but the *path* can't be changed
I can make the *name* configurable, but the *path* can't be changed
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 2
- Joined: Thu Apr 09, 2020 3:50 pm
- Genuine User: Yes
- IDE Question: C++
- Contact: