[CMake] How to rename a target?

Brad King brad.king at kitware.com
Wed Sep 20 14:23:57 EDT 2006


Enrico Scholz wrote:
> does there exist a way to rename a target 'exe-foo' so that it is
> installed as 'bin/foo' finally?

You can do this at build time before installing.  See OUTPUT_NAME in
SET_TARGET_PROPERTIES.

-Brad


More information about the CMake mailing list