Tidying up basic OpenGL example.

This commit is contained in:
David Williams
2010-07-09 21:36:29 +00:00
parent e8b10fd2b9
commit c906e71bc3
4 changed files with 17 additions and 260 deletions

View File

@ -32,7 +32,9 @@ ADD_SUBDIRECTORY(library)
OPTION(ENABLE_EXAMPLES "Should the examples be built" ON)
IF(ENABLE_EXAMPLES)
ADD_SUBDIRECTORY(examples/Basic)
ADD_SUBDIRECTORY(examples/OpenGL)
ADD_DEPENDENCIES(BasicExample PolyVoxCore PolyVoxUtil)
ADD_DEPENDENCIES(OpenGLExample PolyVoxCore PolyVoxUtil)
ENDIF(ENABLE_EXAMPLES)