Author |
Topic |
|
loger9
New Member
2 Posts |
Posted - Sep 25 2024 : 1:17:46 PM
|
Hello, I am porting my solution into a CMake project to be able to use Ninja and ccache. It is an out-of-source build (https://cgold.readthedocs.io/en/latest/tutorials/out-of-source.html), just a nice thing to do. It all works fine (weird UX all around, but hey almost 10 times faster in some scenarios ).
There is one problem though: Visual Assist displays absolutely nothing when searching files, it can only find the files that are in the Folder View in Solution Explorer (which is only the root CMakeLists.txt and the CMakePresets.json file). I think Visual Assist might not support out of source builds at all.
To make the point clear, this is what you see in Folder View:
And this is what you see in CMake Targets view (all the files and modules are there):
Would be nice to support this! :) |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Sep 26 2024 : 09:04:21 AM
|
Would you be able to send me a very simple CMake project that is structured like this, so I can try and understand what you are doing? If so, please send me the files via email:
[email protected]
including this thread ID or URL in the description, so we can match it up.
Or do you know of an example I can download to look at?
It sounds like CMake is pulling in the source code from another directory, is this correct? |
zen is the art of being at one with the two'ness |
|
|
loger9
New Member
2 Posts |
Posted - Sep 27 2024 : 07:11:33 AM
|
> Would you be able to send me a very simple CMake project that is structured like this, so I can try and understand what you are doing?
I can't share this project in particular but I can easily recreate a small one. I will send it to your email.
> It sounds like CMake is pulling in the source code from another directory, is this correct?
This is correct! I didn't explain that well. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Sep 27 2024 : 10:56:58 AM
|
I have the sample, thank you for that. I have replied via email:
case=165007 |
zen is the art of being at one with the two'ness |
|
|
|
Topic |
|