[CMake] extending CMAKE__LINK_EXECUTABLE

2019-10-08 Thread Setzer Sebastian (CM-CI2/ECS2) via CMake
Dear list, I need to run a tool after building an executable, which will modify the executable itself. I intend to extend the toolchain for this, because it shall be done for every executable on this particular operating system. I think for this purpose, I need to change the rule

Re: [CMake] DEPENDS parameter of add_custom_target

2019-10-07 Thread Setzer Sebastian (CM-CI2/ECS2) via CMake
ober 2019 12:56 To: Setzer Sebastian (CM-CI2/ECS2) Cc: cmake@cmake.org Subject: Re: [CMake] DEPENDS parameter of add_custom_target On Mon, Oct 7, 2019 at 9:32 PM Setzer Sebastian (CM-CI2/ECS2) via CMake <mailto:cmake@cmake.org> wrote: Dear list, The manual says: https://cmake.org/cm

[CMake] DEPENDS parameter of add_custom_target

2019-10-07 Thread Setzer Sebastian (CM-CI2/ECS2) via CMake
Dear list, The manual says: https://cmake.org/cmake/help/latest/command/add_custom_target.html Reference files and outputs of custom commands created with add_custom_command() command calls in the same directory (CMakeLists.txt file). They will be brought up to date when the target is built. Use