Open main menu

Difference between revisions of "Compiling ScummVM/Visual Studio"

no edit summary
(→‎Compiling without Console/Status Window: Console is no longer the default)
Line 1: Line 1:
== Compiling ScummVM with Visual Studio under Windows ==
== Compiling ScummVM with Visual Studio under Windows ==


Compiling ScummVM with Visual Studio is not an awfully hard task. It is however slightly more complicated than using [[Compiling ScummVM/MinGW|MinGW]]. We guide you through the steps to make ScummVM compile with Visual Studio on this page.
In this page, we guide you through the steps to compile ScummVM with Visual Studio.


== Things needed ==
== Things needed ==
Line 12: Line 12:
When installing Visual Studio 2017 or later, make sure to select the "Desktop Development with C++" workload.
When installing Visual Studio 2017 or later, make sure to select the "Desktop Development with C++" workload.


We do support older versions of Visual Studio too. However, on this page we focus on building ScummVM with latest Visual Studio. Building ScummVM with older Visual Studio 2008 can require additional work not described on this page.
We do support older versions of Visual Studio too. However, on this page we focus on building ScummVM with latest Visual Studio. Building ScummVM with versions older Visual Studio 2008 can require additional work which is not described here.


=== Needed Libraries ===
=== Needed Libraries ===
Line 32: Line 32:
ScummVM uses a configure/Make based build system. We have a tool to generate Visual Studio project files from this build system. The first step you need to take is building this tool called "create_project".
ScummVM uses a configure/Make based build system. We have a tool to generate Visual Studio project files from this build system. The first step you need to take is building this tool called "create_project".


First, open the solution file "devtools\create_project\msvc\create_project.sln". Then simply build the solution. The project file should automatically assure that the resulting "create_project.exe" is copied to "dists\msvc". If not, you will have to copy it yourself.
First, open the solution file "devtools\create_project\msvc\create_project.sln". Then simply build the solution. The project file should automatically assure that the resulting "create_project.exe" is copied to "dists\msvc".


=== Generating the Project Files ===
=== Generating the Project Files ===
1,489

edits