Skip to content

StrikerX3/virt86-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

virt86-demos

A set of demo applications using virt86. Each application has its own README.md file describing its purpose.

Building

virt86-demos can be built with CMake 3.8.0 or later.

You will need to install virt86 before compiling these demos. Follow the instructions on that project's README.md.

Building on Windows with Visual Studio 2017

To make a Visual Studio 2017 project you'll need to specify the "Visual Studio 15 2017" CMake generator (-G command line parameter) and a target architecture (-A). Use either Win32 for a 32-bit build or x64 for a 64-bit build.

The following commands create and open a Visual Studio 2017 64-bit project:

git clone https://github.com/StrikerX3/virt86-demos.git
cd virt86-demos
md build && cd build
cmake -G "Visual Studio 15 2017" -A x64 ..
start virt86-demos.sln

The project can be built directly from the command line with CMake, without opening Visual Studio:

cd virt86-demos/build
cmake --build . --target ALL_BUILD --config Release -- /nologo /verbosity:minimal /maxcpucount

Building on Linux with GCC 7+

Make sure you have at least GCC 7, make and CMake 3.8.0 installed on your system.

git clone https://github.com/StrikerX3/virt86-demos.git
cd virt86-demos
mkdir build; cd build
cmake ..
make

Building on Mac OS X

Install brew if you haven't already. The default installation is sufficient. Xcode is not needed to compile the applications -- virt86 demos can be compiled with the Xcode command line tools included with brew.

git clone https://github.com/StrikerX3/virt86-demos.git
cd virt86-demos
mkdir build; cd build
cmake ..
make

Support

You can support the author on Patreon.