The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=13598 
====================================================================== 
Reported By:                James
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13598
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-10-21 06:32 EDT
Last Modified:              2012-10-21 06:32 EDT
====================================================================== 
Summary:                    source_group is broken when using regex and putting
into "Source Files"
Description: 
WORKS: source_group(Source\ Files\\Hello FILES directives/asm/test.c)
WORKS: source_group(Source\ Files2\\Hello REGULAR_EXPRESSION
directives/asm/.*\\.c)
FAILS: source_group(Source\ Files\\Hello REGULAR_EXPRESSION
directives/asm/.*\\.c)

It seems the explicit combination of using REGULAR_EXPRESSION and attempting to
put the result inside "Source Files" fails (that is, Visual Studio does not show
it in the sub-folder; it appears directly inside Source Files).

Steps to Reproduce: 
Create a CMake file that sorts files using the above combination.
Generate the CMake file.
Notice that in Visual Studio it is not placed in the correct group.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-21 06:32 James          New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to