Migrating to CMake, WIP

This commit is contained in:
2017-10-04 17:14:29 -07:00
parent 5362bbd526
commit 7b7b1fe934
8 changed files with 60 additions and 9 deletions

View File

@@ -3,10 +3,12 @@
#if defined(_WIN32) || defined(_WIN64)
#include <GL/glew.h>
#include "../3rdparty/tinyxml2/tinyxml2.h"
#elif defined(__linux__) || defined(__unix__) || defined(__posix__)
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#endif
#include "KREngine-common.h"
#include "../3rdparty/tinyxml2/tinyxml2.h"
#define KRMIN(x,y) ((x) < (y) ? (x) : (y))
#define KRMAX(x,y) ((x) > (y) ? (x) : (y))
@@ -26,4 +28,4 @@ namespace kraken {
const Vector3 getXMLAttribute(const std::string &base_name, ::tinyxml2::XMLElement *e, const Vector3 &default_value);
} // namespace kraken
#endif
#endif