[cmake-developers] Topic "filter-showincludes-in-launcher" - How to access cmake variables from ctest?
Nils Gladitz
nilsgladitz at gmail.com
Mon Dec 2 02:32:01 EST 2013
On 12/01/2013 09:38 PM, Nils Gladitz wrote:
> CMake sets the variable CMAKE_CL_SHOWINCLUDES_PREFIX (when using Ninja
> and cl).
> I'd like to access that variable in CTest script mode (specifically in
> the build handler).
>
> Is that possible at all?
>
> Without script mode I can use DartConfiguration.tcl but in script mode
> it seems to be ignored (Does anyone know why?).
>
I worked around it with an alternative topic
"filter-showincludes-in-launcher-mk2" which works around the issue by
passing parameters to the launcher command line instead.
I've tested it locally and merged it to next.
Nils
More information about the cmake-developers
mailing list