[CMake] Target Properties FOLDER not working?

Michael Jackson mike.jackson at bluequartz.net
Thu May 30 13:53:28 EDT 2013


I am trying to group some of my targets for my Visual Studio users and I am using the following code:

# --------
add_executable(StructArrayTest ${DREAM3DTest_SOURCE_DIR}/StructArrayTest.cpp)
target_link_libraries(StructArrayTest EbsdLib MXA DREAM3DLib)
SET_TARGET_PROPERTIES (StructArrayTest PROPERTIES FOLDER Test)

I have about 30 of those. What I am expecting to see in the Visual Studio 2010 solution is a Folder called "Test" with all my test projects listed in that but I just see everything at the top level. Is there something else that I need to call to enable this?

Windows 7 x64 with Visual Studio 2010 SP1 Professional.

Thanks
___________________________________________________________
Mike Jackson                    Principal Software Engineer
BlueQuartz Software                            Dayton, Ohio
mike.jackson at bluequartz.net              www.bluequartz.net



More information about the CMake mailing list