Notes |
|
(0032006)
|
raspy
|
2013-01-08 16:03
|
|
I don't really feel this is a duplicate, since issue 0012877 is about supporting generator expressions in OUTPUT only. This request is to support them anywhere. I got another use case, where I would gladly use it in target property LINK_FLAGS. I believe this request is wider than 0012877. |
|
|
(0032587)
|
void.pointer
|
2013-03-11 18:26
|
|
Any idea if this is going to be addressed soon? I have data that I need to copy to my output directory and I generate for Visual Studio. I prefer to specify an output file & copy that way instead of using POST_BUILD simply because the operation becomes more efficient that way. |
|
|
(0037431)
|
Stephen Kelly
|
2014-12-09 16:58
(edited on: 2014-12-09 16:59) |
|
|
|
(0038739)
|
Mattias Linde
|
2015-05-11 03:00
|
|
The title for this issue is rather wide, but just OUTPUT remaining limits the scope.
So I'm not sure if making an addition here or opening a new bug is the right thing to do.
Anyway, since this is related, here goes:
Would be great if add_custom_command would support generator expressions in working_directory.
ADD_CUSTOM_COMMAND(TARGET foo POST_BUILD
COMMAND echo $<TARGET_FILE:foo>
COMMAND echo $<TARGET_FILE_DIR:foo>
# WORKING_DIRECTORY $<TARGET_FILE_DIR:foo>
)
The snippet above was tested with 3.2.2 and when uncommenting the working_directory line, the cd command failed in the makefile. |
|
|
(0042196)
|
Kitware Robot
|
2016-06-10 14:28
|
|
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. |
|