[CMake] Is it possible to show dependent files in Visual Studio "folders" for ADD_CUSTOM_TARGET?

Jose Luis Blanco joseluisblancoc at gmail.com
Sat Jan 19 06:38:59 EST 2013


That's exactly what I was looking for, thanks Fraser!

JL

On Sat, Jan 19, 2013 at 12:17 PM, Fraser Hutchison
<fraser.hutchison at gmail.com> wrote:
> I think this is what the SOURCES arg is for.  You could just duplicate the
> list of DEPENDS files as the SOURCES argument too:
>
> add_custom_target(LIB_NAME DEPENDS ${LIST_OF_HEADERS} SOURCES
> ${LIST_OF_HEADERS})
>
> Cheers,
> Fraser.


More information about the CMake mailing list