[CMake] using SOURCE_GROUP

Neal Meyer nmeyer at dottedzebra.com
Fri Oct 19 12:44:46 EDT 2007


You just need to use the other slash

SOURCE_GROUP( "source\\subgroup" FILES ${SOURCES} )

-Neal

On 10/19/07, Mark Wyszomierski <markww at gmail.com> wrote:
> Hi,
>
> Is it possible to create sub folders in the source tree for vc++
> makes? I'm trying something like:
>
> IF (WIN32)
> SOURCE_GROUP("Source Files/Hello/" FILES a.cpp a.h AssocEchoSCP.cpp)
> ENDIF (WIN32)
>
> CMake automatically makes a source folder called "Source Files", and
> I'd like to put a source folder nested under that, if possible,
>
> Thanks
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list