add_custom_target — CMake 3.23.0-rc5 Documentation
cmake.org › latest › commandIf COMMAND specifies an executable target name (created by the add_executable () command), it will automatically be replaced by the location of the executable created at build time if either of the following is true: The target is not being cross-compiled (i.e. the CMAKE_CROSSCOMPILING variable is not set to true).
[CMake] How to rename a target?
cmake.org › pipermail › cmake[CMake] How to rename a target? Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de Wed Sep 20 13:26:08 EDT 2006. Previous message: [CMake] custom_command pre_build vs. post_build Next message: [CMake] How to rename a target? Messages sorted by:
set_target_properties — CMake 3.23.0-rc5 Documentation
cmake.org › cmake › helpSets properties on targets. The syntax for the command is to list all the targets you want to change, and then provide the values you want to set next. You can use any prop value pair you want and extract it later with the get_property () or get_target_property () command. See also the set_property (TARGET) command.