I knew I would end up regretting this, but I decided in needed to upgrade
my VS version from 2017 to the latest. There are a few issues, so say the
least!

To start with, that version of VS is not supported by older CMake versions
and it was necessary to upgrade to the 4.4.2 version to generate a build.

Secondly, they are moving away from using NMake on that platform, so the
old way of using

CMake -G "NMake Makefiles"

to set up the build no longer works. There are two options now, either use
Ninja or the VS toolset to generate the build system. To use Ninja, you use

cmake -G "Ninja" -B build sourcedir

Where "build" is the directory you want to generate the build into,
relative to where you issue the command from.

To use the VS IDE tools, generate the build using the command

  cmake --build build

issued from the directory where you issued the cmake command to generate
the build. I tried switching to the build directory I created and running

  cmake --build .

to build the current directory, but that didn't work.

To use the IDE tooling, it is basically the same, but with a different
generator.

   cmake -G "Visual Studio 18 2026" -A x64 -B build

and again, "cmake --build build" is used to run the build.

I managed to get a successful build using Ninja and it was quite fast. I
have not tried the visual studio generator yet and don't really want to
mess with my system now that I'm able to build again!

Rick
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to