Changeset 0424bd8 in opengl-game


Ignore:
Timestamp:
Mar 7, 2018, 1:52:19 AM (7 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
a5b5e95
Parents:
d12d003
Message:

Update the OpenGLGame project to only include mygame.cpp and the files required to run it

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenGLGame.sln

    rd12d003 r0424bd8  
    11
    22Microsoft Visual Studio Solution File, Format Version 12.00
    3 # Visual Studio 14
    4 VisualStudioVersion = 14.0.25420.1
     3# Visual Studio 15
     4VisualStudioVersion = 15.0.26430.14
    55MinimumVisualStudioVersion = 10.0.40219.1
    66Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenGLGame", "OpenGLGame.vcxproj", "{592F30FE-3B41-4EE6-A544-23F924C8A1C0}"
  • OpenGLGame.vcxproj

    rd12d003 r0424bd8  
    6565  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    6666    <LinkIncremental>true</LinkIncremental>
    67     <IncludePath>C:\Users\dportnoy\Desktop\opengl-game\include;D:\Visual Studio Projects\include;$(IncludePath)</IncludePath>
    68     <LibraryPath>C:\Users\dportnoy\Desktop\opengl-game\lib;D:\Visual Studio Projects\lib;$(LibraryPath)</LibraryPath>
     67    <IncludePath>include;$(IncludePath)</IncludePath>
     68    <LibraryPath>lib;$(LibraryPath)</LibraryPath>
    6969  </PropertyGroup>
    7070  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    7171    <LinkIncremental>true</LinkIncremental>
    72     <IncludePath>D:\Visual Studio Projects\include;$(IncludePath)</IncludePath>
    73     <LibraryPath>D:\Visual Studio Projects\lib;$(LibraryPath)</LibraryPath>
     72    <IncludePath>include;$(IncludePath)</IncludePath>
     73    <LibraryPath>lib;$(LibraryPath)</LibraryPath>
    7474  </PropertyGroup>
    7575  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
     
    9898  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    9999    <ClCompile>
    100       <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     100      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;GLEW_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    101101      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
    102102      <WarningLevel>Level3</WarningLevel>
  • mygame.cpp

    rd12d003 r0424bd8  
    1 #include <stdio.h>
    2 #include <stdlib.h>
    3 
    4 #include <iostream>
    5 using namespace std;
    6 
    71#include <GL/glew.h>
    8 
    92#include <GLFW/glfw3.h>
    10 GLFWwindow* window;
    113
    124#include <glm/glm.hpp>
    135#include <glm/gtc/matrix_transform.hpp>
    14 using namespace glm;
     6
     7#include <cstdio>
     8#include <cstdlib>
     9#include <iostream>
     10
     11GLFWwindow* window;
    1512
    1613#include "common/shader.hpp"
    1714#include "common/controls.hpp"
     15
     16using namespace std;
     17using namespace glm;
    1818
    1919int main(int argc, char* argv[]) {
Note: See TracChangeset for help on using the changeset viewer.