From f05e73857e85f9f1fa2a7e3f456c9643c75dfce7 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 6 Nov 2016 12:20:02 +0100 Subject: [PATCH] Created Create Visual Studio Project (markdown) --- Create-Visual-Studio-Project.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Create-Visual-Studio-Project.md diff --git a/Create-Visual-Studio-Project.md b/Create-Visual-Studio-Project.md new file mode 100644 index 0000000..1133fbb --- /dev/null +++ b/Create-Visual-Studio-Project.md @@ -0,0 +1,30 @@ +Some users want to use raylib with Visual Studio IDE. raylib 1.6 includes [Visual Studio 2015 project templates](https://github.com/raysan5/raylib/tree/develop/project/vs2015) for the library and some examples but maybe you want to configure the library for another Visual Studio version. + +Those are the configuration parameters required: + +### Configure raylib library project + +1. Create a new library project (C) +2. Include the following directories: + - `$(raylibSrcDir)\external\openal_soft\include` + - `$(raylibSrcDir)\external\glfw3\include` + - `$(raylibSrcDir)\external` +3. Preprocesor definitions (for Windows platform): + - `GRAPHICS_API_OPENGL_33` + - `PLATFORM_DESKTOP` +4. Advanced Configuration: `Compile as C Code (/TC)` + +### Configure raylib game project + +1. Create a new Console project +2. Include directory: `$(raylibSrcDir)` +3. Advanced Configuration: `Compile as C Code (/TC)` +4. Linker directories: + - $(raylibSrcDir)external\glfw3\lib\win32 + - $(raylibSrcDir)external\openal_soft\lib\win32 +5. Linker additional dependencies: + - glfw3.lib + - openal32.lib + + +