1
0
Fork 0

Upgrade dosbox solution and project to VS2019

Clean up project settings to prevent most MSVC linker warnings.
This commit also adds MSVC builds to CI.
This commit is contained in:
Patryk Obara 2019-09-30 14:09:57 +02:00 committed by Patryk Obara
parent d08d988be6
commit 145b83ea74
15 changed files with 486 additions and 947 deletions

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/begin_code.h>

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/close_code.h>

View file

@ -1,10 +1,10 @@
#define VERSION "SVN"
#define VERSION "staging"
/* Define to 1 to enable internal debugger, requires libcurses */
#define C_DEBUG 0
/* Define to 1 to enable output=ddraw */
#define C_DDRAW 1
#define C_DDRAW 1
/* Define to 1 to enable screenshots, requires libpng */
#define C_SSHOT 1

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/SDL.h>

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/SDL_endian.h>

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/SDL_opengl.h>

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/SDL_thread.h>

View file

@ -0,0 +1,4 @@
// This file exists only for MSVC builds.
// It's needed because vcpkg does not set SDL subdirectory in includes list
// for projects that do not use cmake.
#include <SDL/SDL_version.h>