[CMake] Listing generated source files in cmake project
Dmytro Poplavskiy
dpoplavskiy at topcon.com
Tue Feb 24 18:50:54 EST 2015
Hello,
I have some source files generated as a part of build process, generated
using add_custom_command().
Building works fine, but would be nice to have generated source files to
be displayed in IDE project (QtCreator using CodeBlocks generator).
I tried to use add_custom_target(... SOURCES <generated files>) but it
only works for files located in the source tree,
generated files located in the build directory outside of the source
tree are excluded.
Regards
Dmytro.
Confidentiality Notice: This message (including attachments) is a private communication solely for use of the intended recipient(s).
If you are not the intended recipient(s) or believe you received this message in error, notify the sender immediately and then delete this
message. Any other use, retention, dissemination or copying is prohibited and may be a violation of law, including the Electronic
Communication Privacy Act of 1986."
More information about the CMake
mailing list