QtCreator - deploying stripped files from CMake project
-
Hi,
I have a large CMake project structure for an embedded Linux device that builds a number of shared libraries and executables that are basically too big. They just barely fit on my target device.
So I added the install/strip option to the make command line, and the stripped binaries are now written to another directory. What's left is about 20% of the original size. Great.
But I cannot figure out how to get Qt Creator to deploy the stripped binaries instead of the unstripped ones. The table in my project settings that list the files to deploy still has "Local File Path" set to the /build directory instead of /deploy. Is there any way I can change that?
I've tried adding the stripped binaries to a QtCreatorDeployment.txt file, but that doesn't seem to be the way either. As far as I can see, the files I add to that are always assumed to be in the project-source-directory. And even if I would put them in there, I would end up with duplicate file names, as the original files are still being deployed.