MantisBT - CMake
View Issue Details
0015450CMakeCMakepublic2015-03-16 16:272016-06-10 14:31
Joël Lamotte 
Kitware Robot 
normalfeatureN/A
closedmoved 
 
 
0015450: Install at build-time
Provide a way to trigger install of a target after each build (with a path relative to the build mode).

See this discussion: http://cmake.3232098.n2.nabble.com/List-all-binaries-associated-with-a-target-td7590021.html [^]

From Stephen Kelly:
[quote]
Klaim - Joël Lamotte wrote:

> Actually 2 and 3 are the same, I just put the files in a specific place in
> the
> build directory so that it looks like installed, but I do this when the
> binary is
> built so that it's always up to date while debugging.
> Now, I use post-build command (add_custom_command) to do this indeed
> but I didn't find a way yet to trigger install() a specific binary on
> post-build yet,
> but I suppose I just missed it so far.

There might be space for a first class feature in cmake for 'make something
that looks like the install tree at build time'. Please file an issue to
track it.
[/quote]
No tags attached.
Issue History
2015-03-16 16:27Joël LamotteNew Issue
2015-04-07 06:00Daniele E. DomenichelliNote Added: 0038457
2016-06-10 14:29Kitware RobotNote Added: 0042733
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0038457)
Daniele E. Domenichelli   
2015-04-07 06:00   
Perhaps related: http://www.cmake.org/Bug/view.php?id=15035 [^]
(0042733)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.