[CMake] Creating a visual studio project with non .cpp or .h
files in it.
Bill Hoffman
bill.hoffman at kitware.com
Thu Dec 6 08:22:51 EST 2007
Josef Karthauser wrote:
> It would be useful if there was a standard way of doing this within
> CMake; maybe there is in 2.6?
>
> Anyway, I boiled your ideas down into a single 'ADD_DOCUMENTATION()'
> command - see attached patch to 2.4.7. It should probably be called
> ADD_AUX_FILE() or something though, as we also use it to add external
> foo.cmake files to the visual project files for ease of editing within
> the Visual Studio environment.
>
Actually, I would think that the right way to do this would be to allow
for custom targets to have sources. I don't think we need a whole new
command for this.
-Bill
More information about the CMake
mailing list