[CMake] multiple targets with same name

Surya Kiran Gullapalli suryakiran.gullapalli at gmail.com
Thu Feb 18 23:37:41 EST 2010


Hello all,
I've this directory structure

ParentDir
     |----- Module 1
                |----- unit_test
     |----- Module 2
                |----- unit_test
     |----- Module 3
                |----- unit_test
     |----- Module 4
                |----- unit_test


Each module has a unit_test directory. So I end up creating targets like
this Module_1_unitTest, Module_2_unitTest etc. They appear very cluttered on
VS. (I'm using VS2005 generator with CMake-2.8.1 (RC3))
Is there any way I can create the unit_test executable, all with same name
unit_test ?

Also I want to hide them from VS solution
explorer<http://blogs.msdn.com/saraford/archive/2008/02/22/did-you-know-you-can-use-solution-folders-to-hide-projects-157.aspx>.
Is it possible ?

Thanks in advance,
Surya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100219/79a005be/attachment.htm>


More information about the CMake mailing list