Creating new page for raylib 3.5 and VS2019

master
Grave 4年前
コミット
3747717f23
1個のファイルの変更18行の追加0行の削除
  1. +18
    -0
      Create-Visual-Studio-2019-Project.md

+ 18
- 0
Create-Visual-Studio-2019-Project.md

@ -0,0 +1,18 @@
# RayLib 3.5 and Visual Studio 2019 configuration
## Building _raylib.lib_ and _raylib.dll_
* Download or clone [raysan5/raylib](https://github.com/raysan5/raylib) folder.
* In _raylib/projects/VS2019_ find _raylib.sln_ and open it with **Visual Studio 2019**.
* Go to **Solution Explorer** window and find **raylib** project
* Right click on it and choose **Set as Startup Project**
* Check **Solution Configurations** (must be Release.Dll x64)
* Go to **Build > Build raylib** or press _Ctrl + B_ to build _raylib.lib_ and _raylib.dll_
## Creating your own project
* Create **new project > Console App**
* Go to **Project Properties > Configuration Properties > C/C++ > General** and add _...\raylib\src folder_ (contains _.h_ files) to **Additional Include Directories**
* Go to **Configuration Properties > Linker > General** and add _...\raylib\projects\VS2019\bin\x64\Release.DLL_ folder to **Additional Library Directories**
* Go to **Configuration Properties > Linker > Input** and add _raylib.lib_ to **Additional Dependencies**
* Go to _...\raylib\projects\VS2019\bin\x64\Release.DLL_ folder and copy _raylib.dll_ to your project folder (main .cpp must be in this folder)
## Start coding
* Go to https://www.raylib.com/examples.html and grab some code to your .cpp file

読み込み中…
キャンセル
保存