Use the CMake folder tool to help IDEs groupt targets.

This is done as seen in http://athile.net/library/blog/?p=288

Hopefully this works in Visual Studio as KDevelop doesn't use this feature.
This commit is contained in:
Matt Williams
2012-08-12 04:29:51 +01:00
parent cc98c8e71a
commit b96309f4a4
11 changed files with 11 additions and 0 deletions

View File

@ -44,6 +44,7 @@ IF(MSVC)
SET_TARGET_PROPERTIES(OpenGLExample PROPERTIES COMPILE_FLAGS "/W4 /wd4127")
ENDIF(MSVC)
TARGET_LINK_LIBRARIES(OpenGLExample ${QT_LIBRARIES} ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} PolyVoxCore)
SET_PROPERTY(TARGET OpenGLExample PROPERTY FOLDER "examples/OpenGL")
#Install - Only install the example in Windows
IF(WIN32)