Displaying 1 result from an estimated 1 matches for "dcmake_install_do_strip".
2017 Nov 22
2
Combining install-distribution with binary stripping
Hi all,
I want to use the LLVM_DISTRIBUTION_COMPONENTS support to create an installed
toolchain image (via the install-distribution target). I'd also like the
installed binaries to be stripped.
If you're invoking a cmake install script directly, you can pass
-DCMAKE_INSTALL_DO_STRIP=1 to cmake to request stripping. The install-*
targets set up by LLVM's build system don't seem to have any provision for
this though, as far as I can tell. I also can't figure out a way to pass cmake
this option apart from just putting it in the invocation (and the cmake
invocation her...