I have a script I'm using to figure out which headers should be in my precompiled header. It requires the clang -H flag passed to work. I'm able to get the output on the console without issue, but can't figure out how to just pass clang's output to a file for my script to analyze. redirecting the console output to a file with ">" won't work since I'm compiling from CLion. Is there a way to do this from within a CMakeLists.txt? I'm thinking something like tee would work, but can't find a variable to chain to tee. --
Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake