Re: [CMake] Listing all the include directories

2018-03-27 Thread Saad Khattak
Thanks Robert. Too bad that this something I cannot inspect. A list of include directories would be useful even with unexpanded generator expressions. CMake-server mode sounds like an interesting option. On Tue, Mar 27, 2018 at 10:47 AM Robert Maynard wrote: > In

Re: [CMake] Listing all the include directories

2018-03-27 Thread Robert Maynard
In general your options are to look at the command line or use cmake-server mode to query the code model. The full set of include directories is not known while configuring due to generator expressions expanding after the configure step. On Mon, Mar 26, 2018 at 9:45 PM, Saad Khattak

[CMake] Listing all the include directories

2018-03-26 Thread Saad Khattak
Hi, I have many libraries and packages that are being linked using target_link_libraries(...) where CMake takes care of the include directories. There are cases where I get compile errors because I don't know the exact include directories. I thought perhaps I could get the include directories of