cmake update

This commit is contained in:
Markus F.X.J. Oberhumer
2024-03-26 15:38:20 +01:00
parent a27a9e6000
commit 3ba91b8072
8 changed files with 57 additions and 36 deletions
+4 -1
View File
@@ -29,6 +29,9 @@
// dispatch. PackMaster by itself will instantiate a concrete subclass
// of class PackerBase which then does the actual work.
// And see p_com.cpp for a simple executable format.
//
// This file also has the burden to deal with all those pesky low-level
// file handling issues.
#define WANT_WINDOWS_LEAN_H 1 // _get_osfhandle, GetFileTime, SetFileTime
#include "util/system_headers.h"
@@ -325,7 +328,7 @@ void do_one_file(const char *const iname, char *const oname) may_throw {
}
}
// handle command - actual work is here
// handle command - actual work starts HERE
PackMaster pm(&fi, opt);
if (opt->cmd == CMD_COMPRESS)
pm.pack(&fo);