1
0
mirror of https://github.com/simh/simh.git synced 2026-01-13 07:19:43 +00:00

9 Commits

Author SHA1 Message Date
Peter Schorn
c7df248f09 SIMH: Fix spelling errors in comments and strings 2024-07-16 12:04:53 -10:00
John D. Bruner
be969fe46c Visiual Studio Projects: handle missing XP tools when converting to VS2022
build_vstudio.bat converts the .vcproj files from Visual Studio 2008 to
.vcxproj when used with newer versions of Visual Studio and configures
it to build XP-compatible binaries using the v141_xp toolset. However,
this toolset is deprecated and may not be present when using Visual
Studio 2022. The script intends to edit the .vcxproj files only in the
case where it exists; however, due to a logic error it actually does
this unconditionally. This causes the build to fail on VS2022 when
the XP toolset is not present.
2023-10-01 13:22:05 -10:00
Mark Pizzolato
28c84ab5cd github: Rework the CI build to build and generate zip in one batch file 2022-12-03 16:34:40 -10:00
Mark Pizzolato
52dd402884 Visual Studio Projects: Avoid modifying simh.sln while build_vstudio converts
When converting to a newer Visual Studio version, a new solution file is
created named simh-'vsversion'.sln so that we don't modify any files
managed by git.  The resulting converted solution file will be automatically
used when build_vstudio.bat is subsequently run and that solution can be
opened directly by the Visual Studio IDE.
2022-11-24 16:58:32 -10:00
Mark Pizzolato
64356eea11 Visual Studio Projects: Allow VS2022 Professional and Enterprise to build XP 2022-11-24 13:04:43 -10:00
Mark Pizzolato
f98a4ca93a Visual Studio Projects: Add extensive support for Visual Studio 2022
- Pre-Pre-Build-Event.cmd now dynamically determines the available
  compiler version along with any alternate toolset which may be part
  of the build environment and makes the appropriate windows-build
  library support available for linking.
- build_vstudio.bat now supports VS2022 and will dynamically adjust
  the converted VS2008 project files to leverage any available XP build
  support which might be installed so that the generated executables
  will support all versions of Windows from XP onward.  The VS2008
  generated executables automatically support all versions of Windows
  from XP onward.
2022-11-24 11:11:52 -10:00
Mark Pizzolato
11fed22dc7 Visual Studio Projects: Do parallel builds for multiple projects when VS > 2008 2019-12-28 14:54:46 -08:00
Mark Pizzolato
37ec5444ea Visual Studio Projects: Enhance build_vstudio.bat to build individual projects 2019-12-22 10:17:16 -08:00
Mark Pizzolato
56ed67e2bf Visual Studio Projects: Provide a command line VS build procedure
Similar to the build_ming.bat procedure which will invoke MinGW to
biuild siimulators, this procedure will rebuild all of SIMH simulators using
Visual Studio.

If this procedure is not invoked from a Developer Command Prompt
then the VS2008 tools are preferred if VS2008 is installed,
otherwise the installed Visual Studio tools will be used
prefering newer Visual Studio versions over older ones.

If this procedure is invoked from a Developer Command Prompt
then the tool chain provided with the command prompt is used
to build the simh projects.

A single argument to this procedure may be the word Debug, which
will cause Debug binaries to be build rather than the Release
binaries which is the default.
2019-12-21 09:37:51 -08:00