Files
WindowsXPKg/cmake/embed_keys.cmake
T
TheTank20 f9100e0871 To slop SSL away (#191)
* windows 98/nt4, slopped openssl away

* one (1) roadblock that it can't figure out

* fixed maybe

* fix dos?

* fix dos? (2)

* ts is gonna be slow

* No need to compress anymore

* No need to compress anymore (2)

* deslop

The main problem with AI models, even today, is that they're very shortsighted. They're too focused on the thing working now than thinking about how maintainable it will be later. As such, you get duplicated code, as well as comments that are geared towards what it's doing right then and there (as if it's an advertisement of it's services) rather than improving the readability of the code. Always check your diffs.

* Update workflows

* Update freebsd.yml

* Update README.md
2026-10-30 16:53:17 -04:00

11 lines
345 B
CMake

if(NOT DEFINED INPUT OR NOT DEFINED OUTPUT)
message(FATAL_ERROR "embed_keys.cmake requires -DINPUT= and -DOUTPUT=")
endif()
file(READ "${INPUT}" KEYS)
file(WRITE "${OUTPUT}" [=[extern const char umskt_keys_json[] = R"UMSKTJSON(
]=] "${KEYS}" [=[
)UMSKTJSON";
extern const int umskt_keys_json_size = (int)(sizeof(umskt_keys_json) - 1);
]=])