Hi! In the case that in C++ project I would have build/ folder separate from bin/ one,…
- User
Hi! In the case that in C++ project I would have build/ folder separate from bin/ one, have I to introduce some lines of code in my CMakeLists.txt? Namely, usually I create a build/ directory, go inside it, and then cmake …/ cmake --build . However, with such commands I will create an executable inside this build/ folder.
- Assistant
Yes, to have your executable placed in a separate
bin/directory, you'll need to adjust your CMake configuration accordingly. You can do this by setting the property for your target.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.