• R/O
  • SSH

premake-stable: List of commits

A friendly fork of Premake4 used to generate project files for WinDirStat. These patches applied for use in WinDirStat are not necessarily part of the upstream premake-stable. The WDS-build branch is the one used for the accumulated changes from all other branches. Code-signed binaries available.

Rev. Tiempo Autor
afc0b5c48c95 WDS-build tip 2022-03-14 07:49:34 Oliver Schneider

Reviewed and reworked the premake4.lua to make better use of modern VS versions

- Still sticking to VS2005 as the "default" for my release builds for now.
- The premake4 behavioral patches moved to the bottom of premake4.lua to improve
readbility (most people are stumped by seeing lots of Lua code). So since it
doesn't even matter where these go, let's place them at the bottom.

a6b0e342a3ac WDS-build 2022-03-01 06:55:37 Oliver Schneider

Another minor glitch fixed so the Visual Studio version selector is happy

d44513921a0d WDS-build 2022-02-27 10:07:42 Oliver Schneider

Trying to align output better with vanilla VS output

Added tests for some VS versions that weren't currently tested

b8dd9c751afd 2022-02-21 08:43:06 Oliver Schneider

Attempting to solve a glitch with VS version selector

It appears the true string in modern versions is "Visual Studio Version <version>" not just "Visual Studio <version>". Still need to figure out which of the VS versions changed it.

5291a3673395 WDS-build 2022-02-21 08:20:31 Oliver Schneider

Attempting to solve a glitch with VS version selector

It appears the true string in modern versions is "Visual Studio Version <version>" not just "Visual Studio <version>". Still need to figure out which of the VS versions changed it.

Fixed up all tests.

eda09cd58063 2022-02-10 08:35:41 Oliver Schneider

Actually also backporting LuaSrcDiet which can save a lot in binary size

80f32fe36382 2022-02-10 08:14:20 Oliver Schneider

Backporting VS2017 through VS2022 support

There are also minor fixes, such as for CompileAs and other conditions. It
actually also required changing two test cases, because implicitly the default
are C++ projects, so adding .c files should add CompileAs, but didn't in the

ea346b887055 WDS-build 2022-01-27 07:39:18 Oliver Schneider

Decomposing some logic, so I can hook into the per-file options

841802f189ba WDS-build 2022-01-24 06:42:29 Oliver Schneider

Somehow code-signing with Certum's smartcard doesn't work inside a VM, this
should allow me to sign manually while retaining as much automation as possible

This moves the signing step from the post-build command into release.cmd

f96980b8c18a WDS-build 2022-01-23 09:31:51 Oliver Schneider

Merged with upstream (the file mode changes)

f8cbcd6078ca WDS-build 2022-01-23 09:21:28 Oliver Schneider

Arranging for VS2022 support

a9c4789a6fff WDS-build 2022-01-23 05:26:50 Oliver Schneider

Just changing file modes

- This is mostly a benign commit, except on Unix
- Removed the x bit from a number of files which had it set on
account of having been created/modified on Windows, I suppose.

d9644cc6a867 WDS-build 2021-07-14 05:23:03 Oliver Schneider

Fixing up URLs

8cfa3e079e82 WDS-build 2021-02-23 06:05:07 Oliver Schneider

Renaming upstream README so Gitea picks up the right one

600c7c2aa640 2021-02-23 05:54:30 Oliver Schneider

Updating ignore file

1f158f71930c WDS-build 2019-11-11 06:48:44 Oliver Schneider

Minor fixup.
There remains an issue with the signing.

ef4eb5f4da03 WDS-build 2019-11-07 05:10:52 Oliver Schneider

Merge with vs2019_support

11b0df5a89c0 vs2019_support 2019-11-07 05:09:35 Oliver Schneider

Minor fix in the premake4.lua

8523bd11fd49 vs2019_support 2019-11-05 07:00:39 Oliver Schneider

Little reminder for myself and others

a33e9a24de89 vs2019_support 2019-11-05 06:33:36 Oliver Schneider

"Upstream" changes to setvcvars.cmd

9085e139a6a4 vs2019_support 2019-11-01 06:45:08 Oliver Schneider

Updating setvcvars.cmd and fixed error in VS2005

63a2e394125b vs2019_support 2019-10-16 04:27:18 Oliver Schneider

Arranging for VS2019 support

faaf5059fa95 WDS-build 2018-09-20 05:19:12 Oliver Schneider

New setvcvars.cmd

ed01ade47379 WDS-build 2017-10-06 06:42:02 Oliver Schneider


f1155980932a WDS-build 2017-04-13 05:12:51 Oliver Schneider

This updates the premake4.lua in which a handful of glitches were found

88f4dad2fc78 WDS-build 2017-04-12 06:39:19 Oliver Schneider

Fixed a glitch ... node should have passed to the newly introduced function as well

4e280b9a0bef WDS-build 2017-04-12 05:05:29 Oliver Schneider

This should fix an issue where VS2008 and earlier got the proper CompileAs property
on individual files, but VS2010 and newer did not. This introduces the two new
overridable functions

1. premake.vstudio.vc2010.individualSourceFile
2. premake.vstudio.vc200x.individualSourceFile

These can also be used as sentinel for this particular patch to decide if you
need to patch via your premake4.lua or not.

The patch to premake4.lua shows how older premake4 versions can be taught to
behave like this patched version without having the patched version ... just by
modifying the premake4.lua. Beautiful demo of the power of Lua inside Premake4.

14943dfd0118 WDS-build 2017-04-12 01:41:57 Oliver Schneider

Unfortunately premake4 has always misbehaved with respect to Unicode console apps
This should fix it

67ceb9ca617b WDS-build 2017-03-22 07:24:08 Oliver Schneider

Introducing os.str2uuid() as possibility to convert a string deterministically into a (pseudo-)UUID using SHA-3 (256-bit) aka Keccak
Replaced all leading spaces or mixed spaces/tabs with tabs (by rule 1 tab = 4 spaces)
Prepared premake4.lua for this project to generate XP projects and VS2017 projects

60d3a8d6fcf6 WDS-build 2017-03-22 06:45:26 Oliver Schneider

Removing trailing spaces and tabs on lines within the premake4 Lua scripts
(purely cosmetic)

Show on old repository browser