SupSuper
a52e5818d2
CREATE_PROJECT: Use console for devtools and tests projects
2021-02-22 12:28:54 +00:00
SupSuper
2af0fdd458
MSVC: Parallelize building of .asm files
2020-11-15 21:50:26 +00:00
Henrik "Henke37" Andersson
b35e24c9fb
CREATE-PROJECT: Set MSVC subsystem
...
It's a windows application unless the text console is enabled.
2020-11-12 00:54:06 +00:00
SupSuper
b0bc795999
CREATE_PROJECT: Don't include files with the same name but different paths
2020-11-11 10:24:59 +00:00
SupSuper
8e39764f03
CREATE_PROJECT: Only write engineMap references
2020-11-11 04:18:25 +00:00
SupSuper
e9b3974ff8
CREATE_PROJECT: Replace duplicate filename check with unique object files
2020-11-11 04:12:36 +00:00
Henrik "Henke37" Andersson
803d8f1ba5
CREATE_PROJECT: Put detection in a separate project
...
Keeps the main project clean and is a prerequisite for loading detection as a plugin
2020-11-03 07:10:13 +00:00
SupSuper
74db2b3860
CREATE_PROJECT: Fix typos in MSVC properties
2020-08-21 05:38:26 +01:00
SupSuper
dfb0123d56
CREATE_PROJECT: Add a name table for MSVC library dependencies
...
Adds support for Debug/Release lib names and moves
Windows-specific code to the MSVC generator
2020-08-20 23:54:32 +02:00
Michał Janiszewski
bb9dddcd04
CREATE_PROJECT: JANITORIAL: Apply code formatting
2020-07-15 15:30:55 +02:00
SupSuper
95d191e19a
CREATE_PROJECT: Fix VS2008 property names
2020-07-15 15:30:55 +02:00
Michał Janiszewski
26591c1341
CREATE_PROJECT: Add missing is_open check
...
This is to satisfy DeepCode warning on PR
2020-07-15 15:30:55 +02:00
SupSuper
ef803ee080
CREATE_PROJECT: Old Visual Studio doesn't support ARM64
2020-07-15 15:30:55 +02:00
SupSuper
7a5c4e6121
CREATE_PROJECT: Remove C++11
2020-07-15 15:30:55 +02:00
Michał Janiszewski
c763e56d57
CREATE_PROJECT: Address review comments
2020-07-15 15:30:55 +02:00
Michał Janiszewski
3d3b0124ad
CREATE_PROJECT: Make MSVC project understand more architectures
2020-07-15 15:30:55 +02:00
SupSuper
aa9aa503fd
MSVC: Fix compilation on non-ASCII systems
2020-03-26 07:21:15 +00:00
SupSuper
260bcdd648
MSVC: Fix compilation on Windows SDK 8.1
2020-03-26 07:18:40 +00:00
SupSuper
4c89d6dca3
MSVC: Enable C++ Conformance mode
...
Disables non-portable behaviors in modern Visual Studio.
This reduces the chance of code compiling correctly in MSVC but failing in other compilers.
2019-11-24 04:56:53 +00:00
Antoniou Athanasios
e9623740f0
WIN32: Add a default application manifest
...
This fixes an OpenGL renderer issue for builds with MSYS2/Mingw64 or MSYS2/Mingw32
The issue pertains to MSYS2 adding a default manifest file (default-manifest.o) to the executable
The bug is for PC systems with GPU drivers that were not properly supported for Windows 10
systems, like Intel HD Graphics series 1st and 2nd generations. In those systems, launching a
game in ScummVM (built with MSYS2/Mingw) with the OpenGL renderer would cause the game
screen to be a white blank image, and various warnings would be output to the console, eg.
"WARNING: GL ERROR: GL_INVALID_ENUM on glTexSubImage2D(0x0DE1, 0, 0, area.top, src.w, area.height(), _glFormat, _glType, src.gere.cpp:167)!"
This was due to MSYS2/Mingw builds trying to load the (poorly supported) GPU driver while advertising support for Windows 10 in their
embedded default Manifest file. Hence, the GPU driver DLL (eg ig4icd64.dll) would be unloaded, causing the bug.
More information is available in the following links:
https://github.com/pal1000/save-legacy-intel-graphics
https://github.com/LWJGL/lwjgl/issues/119
https://github.com/msys2/MSYS2-packages/issues/454
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880
Credits to sluicebox for the VS GenerateManifest flag
2019-08-04 14:18:50 +03:00
SupSuper
5c0529abc2
CREATE_PROJECT: Refactor Visual Studio version differences
...
Moved most generation differences to a MSVCVersion class, makes it
easier to support new versions without tracking down if-checks everywhere.
2019-04-20 07:47:25 -04:00
SupSuper
e6a80868c6
MSVC: Update DLL paths in post-build script
2018-12-23 18:39:06 +02:00
SupSuper
47b55f29c5
MSVC: Fix resource file revision include error
2018-12-23 18:39:06 +02:00
SupSuper
ddb3b6fba7
MSVC: Fix resource file not including translations.dat
2018-12-23 18:39:06 +02:00
SupSuper
5004c331c9
MSVC: Fix natvis not being added to project in VS2017
2018-12-23 18:39:06 +02:00
SupSuper
f08e7a3012
MSVC: Replace MinimalRebuild with MultiProcessor flag
...
MinimalRebuild is obsolete and MultiProcessorCompilation yields better performance.
2018-12-23 18:39:06 +02:00
Peter Kohaut
65ef0c8ff8
CREATE_PROJECT: Fixed solution version for Visual Studio 2015
2017-03-08 22:43:47 +01:00
Peter Kohaut
27368cc845
CREATE_PROJECT: Add support for Visual Studio 2017
2017-03-08 22:30:53 +01:00
Paul Gilbert
bbef10c068
CREATE_PROJECT: Fix Visual Studio linking problems after Munt merge
2016-12-17 15:12:52 -05:00
Johannes Schickel
dfaf97dda7
DEVTOOLS: Improve SDL2 support in create_project.
...
This adapts MSBuild and XCode project generators to output project files which
can be used to build the SDL backend with SDL2 easily.
2016-03-24 01:26:05 +01:00
Johannes Schickel
edfc84b67a
DEVTOOLS: Use LTCG for Release configurations in MSBuild project files.
...
Silences linker output that LTCG is used anyway because whole program
optimization is enabled for these configurations.
2016-03-13 20:41:40 +01:00
Johannes Schickel
66a74cf3f3
DEVTOOLS: Check configuration and architecture specific directories for MSBuild.
2016-03-09 22:03:47 +01:00
Johannes Schickel
7127fadc96
DEVTOOLS: Use DLL runtime for MSBuild output.
2016-03-09 22:03:47 +01:00
Johannes Schickel
46ef80963f
DEVTOOLS: Enable Edit&Continue on x64 for MSVC2015+.
2016-03-09 22:03:47 +01:00
Johannes Schickel
1c2dc2f89d
DEVTOOLS: Do not ignore libcmt.lib for MSBuild output.
...
This hints at broken library builds and thus should not be set for us.
2016-03-09 22:03:47 +01:00
Johannes Schickel
24558307c2
DEVTOOLS: Do not hardcode runtime libraries for MSVC2015.
2016-03-09 22:03:47 +01:00
Johannes Schickel
d3dba1b086
DEVTOOLS: Do not specify SCUMMVM_LIBS include dir twice for MSBuild.
2016-03-09 22:03:47 +01:00
Johannes Schickel
d2f3bc39b4
DEVTOOLS: Fix path separator in MSBuild's global props output.
2016-03-09 22:03:47 +01:00
Paul Gilbert
fbcf667b6a
CREATE_PROJECT: Cleanup and turn off exception handling again
2015-10-12 14:39:28 -04:00
Paul Gilbert
89dfd36b60
CREATE_PROJECT: Add support for Visual Studio 2015
2015-09-28 19:23:58 -04:00
Pawel Kolodziejski
79d4f09cab
CREATE_PROJECT/MSVC: allow include SDL includes from SDL subdir
2014-07-17 13:59:56 +02:00
Littleboy
ac781bd469
CREATE_PROJECT: Fix issues breaking compilation with LLVM
...
- Current folder include
- Build folder include (needs to be hardcoded)
- NASM compilation directives
2013-12-10 01:55:01 -05:00
Littleboy
6aed305ac9
CREATE_PROJECT: Ignore unused cl arguments when compiling with LLVM
2013-12-10 01:55:00 -05:00
Johannes Schickel
6b0f1118de
DEVTOOLS: Add project file directory to include path in generated project files.
2013-11-25 01:36:25 +00:00
Littleboy
8b56d0792c
CREATE_PROJECT: Remove usage of std::to_string()
2013-09-11 21:22:06 -04:00
Littleboy
3079100409
CREATE_PROJECT: Change PlatformToolset name for latest version of LLVM on Windows
2013-09-06 18:33:48 -04:00
Littleboy
6df36e5ecf
CREATE_PROJECT: Add extra configuration for compilation with LLVM
2013-09-06 00:19:56 -04:00
D G Turner
9d36991e16
CREATE_PROJECT: Enable built-in theme for MSVC builds again.
...
This reverts commit d089658fb8
.
2013-08-16 07:22:26 +01:00
Littleboy
a949a88220
CREATE_PROJECT: Add support for tests
...
- Added --tests command line switch
- Parse test/module.mk to extract the list of test folders
- Automatically run tests after a successful build
2013-07-07 12:10:31 -04:00
Paul Gilbert
d089658fb8
CREATE_PROJECT: Fix compilation for Visual Studio now the built-in theme is more than 64kb
2013-07-04 12:06:22 -04:00