A guide to Windows application development using w64devkit
nullprogram.com
nullprogram.com
Powershell Core is actually available on quite a few posix-platforms and thus actually portable.
Obviously you’ll introduce a non-standard build-time dependency on Unix-platforms, but by adopting it at least you can slowly ween your Windows-only stuff in a generally more portable direction.
Ahahahhahhaha, that is insane.
Powershell is built on .NET and shares the same types and BCL.
If your team is a full .NET team, Powershell might actually be easier to transition to than Python where everything is going to be new or different.
https://github.com/floooh/cimgui-sokol-starterkit
It needs the system's "default compiler toolchain" and cmake, but other then that, there are no external dependencies, and I tried to keep everything as simple as possible (even the CMakeLists.txt file).
All the dependencies (Dear ImGui, cimgui and the Sokol headers for cross-platform wrapping of the platform-specific window systems and 3D-APIs) are bundled right in the git repo.
Zig and Nim are sort-of "in progress" (for instance, see the sokol-zig bindings here: https://github.com/floooh/sokol-zig/)
Get Lazarus IDE for Windows. The language is highly advanced Object Pascal
For the same thing but C++ you can get Ultimate++ IDE.
Either will produce single exe file.
Deployment in either case is just copy exe and have at it
Download LLVM for Windows, it produced native Win binaries, works well, you could use the same GCC flags
You could stick with makefiles by using nmake. It's not nearly as full featured as gnu make, and both cmd and PowerShell are much different (and less powerful in the case of cmd) to bash. Still and all, I've made it work quite well in the past for the Windows build of a library I was responsible for in my former day job.
Another option would be to use cmake as your build tool and let it generate ninja, msbuild, or nmake scripts for you. It's not nearly as bad as it was in the past (nor as bad as some might lead to to believe). Worth a try, anyway.
It's a CLI based full blown SDK including compiler, package manager and build tools, and it's cross platform.
Embrace the target: use Visual Studio (community edition)
You can still write in vim if you want, you just tab over and hit F5 when you want to run.
MSBuild has a steep learning curve, but I've recently managed to climb it using https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuil...
Coming from make, a make target is a msbuild "item". Variables become properties. Build steps are "tasks" - generally you use the builtin ones.
or just use cmake with nmake or ninja generator if you are that hellbent on using cl.exe
it is really different...
I'm using LLVM on Windows - native binaries, calls to clang and clang++ with the same options as gcc.
So LLVM+cmake+ninja works reasnable well for medium sized project
[1] https://akr.am/blog/posts/a-guide-to-compiling-programs-on-w...