How to configure qt when configuring to compile from source to NOT delete test programs
Unsolved
Installation and Deployment
-
I am compiling qt from source and during configuration it fails a configuration step where it compiles some test programs, in my case "try_compile-v1".
I would like to debug why this is, but the test programs are deleted upon failure, in-fact all of a folder called CMakeScratch is deleted.
Does any one know the configuration switch to NOT delete these test programs so I can debug. I am 99% sure I have seen it before but can't find it anywhere.
-
See cmake help:
λ cmake --help | grep debug --debug-trycompile = Do not delete the try_compile build tree. --debug-output = Put cmake in a debug mode. --debug-find = Put cmake find in a debug mode. --debug-find-pkg=<pkg-name>[,...] = Limit cmake debug-find to the --debug-find-var=<var-name>[,...] = Limit cmake debug-find to the