From ef957b7878e1ea3d477ab35abb49e0f1c767e91a Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 14 Mar 2015 10:04:30 +0000 Subject: [PATCH] Examples: Moved GLFW/GL3W to a common libs/ folder --- examples/{opengl3_example => libs}/gl3w/GL/gl3w.c | 0 examples/{opengl3_example => libs}/gl3w/GL/gl3w.h | 0 .../{opengl3_example => libs}/gl3w/GL/glcorearb.h | 0 .../{opengl_example => libs}/glfw/COPYING.txt | 0 .../glfw/include/GLFW/glfw3.h | 0 .../glfw/include/GLFW/glfw3native.h | 0 .../glfw/lib-vc2010-32/glfw3.lib | Bin examples/opengl3_example/opengl3_example.vcxproj | 14 +++++++------- .../opengl3_example.vcxproj.filters | 6 +++--- examples/opengl_example/opengl_example.vcxproj | 8 ++++---- 10 files changed, 14 insertions(+), 14 deletions(-) rename examples/{opengl3_example => libs}/gl3w/GL/gl3w.c (100%) rename examples/{opengl3_example => libs}/gl3w/GL/gl3w.h (100%) rename examples/{opengl3_example => libs}/gl3w/GL/glcorearb.h (100%) rename examples/{opengl_example => libs}/glfw/COPYING.txt (100%) rename examples/{opengl_example => libs}/glfw/include/GLFW/glfw3.h (100%) rename examples/{opengl_example => libs}/glfw/include/GLFW/glfw3native.h (100%) rename examples/{opengl_example => libs}/glfw/lib-vc2010-32/glfw3.lib (100%) diff --git a/examples/opengl3_example/gl3w/GL/gl3w.c b/examples/libs/gl3w/GL/gl3w.c similarity index 100% rename from examples/opengl3_example/gl3w/GL/gl3w.c rename to examples/libs/gl3w/GL/gl3w.c diff --git a/examples/opengl3_example/gl3w/GL/gl3w.h b/examples/libs/gl3w/GL/gl3w.h similarity index 100% rename from examples/opengl3_example/gl3w/GL/gl3w.h rename to examples/libs/gl3w/GL/gl3w.h diff --git a/examples/opengl3_example/gl3w/GL/glcorearb.h b/examples/libs/gl3w/GL/glcorearb.h similarity index 100% rename from examples/opengl3_example/gl3w/GL/glcorearb.h rename to examples/libs/gl3w/GL/glcorearb.h diff --git a/examples/opengl_example/glfw/COPYING.txt b/examples/libs/glfw/COPYING.txt similarity index 100% rename from examples/opengl_example/glfw/COPYING.txt rename to examples/libs/glfw/COPYING.txt diff --git a/examples/opengl_example/glfw/include/GLFW/glfw3.h b/examples/libs/glfw/include/GLFW/glfw3.h similarity index 100% rename from examples/opengl_example/glfw/include/GLFW/glfw3.h rename to examples/libs/glfw/include/GLFW/glfw3.h diff --git a/examples/opengl_example/glfw/include/GLFW/glfw3native.h b/examples/libs/glfw/include/GLFW/glfw3native.h similarity index 100% rename from examples/opengl_example/glfw/include/GLFW/glfw3native.h rename to examples/libs/glfw/include/GLFW/glfw3native.h diff --git a/examples/opengl_example/glfw/lib-vc2010-32/glfw3.lib b/examples/libs/glfw/lib-vc2010-32/glfw3.lib similarity index 100% rename from examples/opengl_example/glfw/lib-vc2010-32/glfw3.lib rename to examples/libs/glfw/lib-vc2010-32/glfw3.lib diff --git a/examples/opengl3_example/opengl3_example.vcxproj b/examples/opengl3_example/opengl3_example.vcxproj index 3dd9afdf..936c688d 100644 --- a/examples/opengl3_example/opengl3_example.vcxproj +++ b/examples/opengl3_example/opengl3_example.vcxproj @@ -50,11 +50,11 @@ Level3 Disabled - $(ProjectDir)..\opengl_example\glfw\include;gl3w;..\..;%(AdditionalIncludeDirectories) + $(SolutionDir)\libs\glfw\include;$(SolutionDir)\libs\gl3w;..\..;%(AdditionalIncludeDirectories) true - $(ProjectDir)..\opengl_example\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) + $(SolutionDir)\libs\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) opengl32.lib;glfw3.lib;%(AdditionalDependencies) Console msvcrt.lib @@ -66,13 +66,13 @@ MaxSpeed true true - $(ProjectDir)..\opengl_example\glfw\include;gl3w;..\..;%(AdditionalIncludeDirectories) + $(SolutionDir)\libs\glfw\include;$(SolutionDir)\libs\gl3w;..\..;%(AdditionalIncludeDirectories) true true true - $(ProjectDir)..\opengl_example\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) + $(SolutionDir)\libs\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) opengl32.lib;glfw3.lib;%(AdditionalDependencies) Console @@ -81,15 +81,15 @@ - + - - + + diff --git a/examples/opengl3_example/opengl3_example.vcxproj.filters b/examples/opengl3_example/opengl3_example.vcxproj.filters index 1c00552d..544bd2e7 100644 --- a/examples/opengl3_example/opengl3_example.vcxproj.filters +++ b/examples/opengl3_example/opengl3_example.vcxproj.filters @@ -22,7 +22,7 @@ sources - + gl3w @@ -36,10 +36,10 @@ sources - + gl3w - + gl3w diff --git a/examples/opengl_example/opengl_example.vcxproj b/examples/opengl_example/opengl_example.vcxproj index c92d0acc..1d4dbc55 100644 --- a/examples/opengl_example/opengl_example.vcxproj +++ b/examples/opengl_example/opengl_example.vcxproj @@ -50,11 +50,11 @@ Level3 Disabled - $(ProjectDir)\glfw\include;..\..;%(AdditionalIncludeDirectories) + $(SolutionDir)\libs\glfw\include;..\..;%(AdditionalIncludeDirectories) true - $(ProjectDir)\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) + $(SolutionDir)\libs\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) opengl32.lib;glfw3.lib;%(AdditionalDependencies) Console msvcrt.lib @@ -66,13 +66,13 @@ MaxSpeed true true - $(ProjectDir)\glfw\include;..\..;%(AdditionalIncludeDirectories) + $(SolutionDir)\libs\glfw\include;..\..;%(AdditionalIncludeDirectories) true true true - $(ProjectDir)\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) + $(SolutionDir)\libs\glfw\lib-vc2010-32;%(AdditionalLibraryDirectories) opengl32.lib;glfw3.lib;%(AdditionalDependencies) Console