From 4a1cca987f5b3a3809072c51aff1bf11c0747cfa Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Wed, 11 Aug 2021 14:28:53 -0700 Subject: [PATCH] Note that setting the compiler to C only is not required and may be detrimental --- Create-Visual-Studio-2019-Project.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Create-Visual-Studio-2019-Project.md b/Create-Visual-Studio-2019-Project.md index 7d2f2a3..beaa49c 100644 --- a/Create-Visual-Studio-2019-Project.md +++ b/Create-Visual-Studio-2019-Project.md @@ -20,6 +20,7 @@ https://github.com/raysan5/raylib/wiki/Easy-Raylib-Setup-for-Windows-with-Visual - ` GRAPHICS_API_OPENGL_33` - ` PLATFORM_DESKTOP` * Go to **C/C++ > Advanced** and set **Compile As** to **Compile as C Code (/TC)** (if you want to use code from examples) +** Note that this step is not required. By default *.c files will compile with C and *.cpp files will compile to C++. If you intend to use C++ or do not want to forcibly restrict yourself to C, do not change this setting. * Go to **Linker > General** and add `(your_folder_location)\raylib\projects\VS2019\bin\x64\Release.DLL` folder to **Additional Library Directories** * Go to **Linker > Input** and add `raylib.lib` and `winmm.lib` to **Additional Dependencies** * Go to _"(your_folder_location)\raylib\projects\VS2019\bin\x64\Release.DLL"_ folder and copy _**raylib.dll**_ and _**raylib.lib**_ to your project folder. For example, if your project name is "Demo" then copy these files into the folder `(your_folder_location)\Demo\Demo`.