[CMake] add_custom_target and Code Blocks generator
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Jan 20 12:27:35 EST 2011
On Thursday 20 January 2011, Dimitri Kaparis wrote:
> Greetings,
>
> the Code Blocks generator is not adding to the project the sources,
> specified in the command.
> In order to add a group of header files to my project tree, I'm trying
> to implement the solution posted here:
> http://www.cmake.org/pipermail/cmake/2010-November/040537.html
> The target itself is added to the Code Blocks project, however the
> source files are not.
> Should I file a bug report? Are there any other workarounds for that
> use case, besides adding the headers to some other existing executable
> or library target?
>
> This is under linux, with CMake release 2.8.3.
add_custom_target() does not have a list of source files. Which behaviour do
you expect ?
Can you post a small example CMakeLists.txt and explain what you would
expect ?
Thanks
Alex
More information about the CMake
mailing list