However, the documentation for cmake leaves much to be desired. Throughout my work, I've found most of my help with Google and other peoples submitted scripts. I'm going to try not to be cynical and assume that this is due to them selling a book.
Anyway, it seems that the upx for cmake documentation just doesn't exist.
(/endrant)
As the maintainer of libtcod-net, which is only somewhat documented, I realize this same complaint could be leveled back at me. If you happen to find yourself cursing the documentation of libtcod-net, please let me know.
*Edit-2* Since apparently I have a high google rating for "upx cmake" and I've found my solution, I'll post it for any future googlers. I gave up on using the built in finder, and am just using the one visible from the prompt. I'll have to variable it out to work on windows, but it's "good enough".
samples_c being the name of one of the outputs:
ADD_CUSTOM_COMMAND(
TARGET samples_c
POST_BUILD
COMMAND upx samples_c
VERBATIM
)
No comments:
Post a Comment