Shipwright/CMake
Zaxus125 b7f9960a60
[cmake] Improve OTRExporter asset extraction script, Lower required CMake to 3.16 (#1196)
* supply ZAPD.out path as an argument to extract_assets.py rather than regenerating the script

Generating an entirely new script file to change a string is excessive.
Instead, extract_assets.py takes in one optional positional argument that
contains the path to ZAPD.out, the original purpose for the string
replacement.

This also removes the need for the file(CHMOD ...) command, which bumps
the minimum cmake version all the way up to 3.19.

Additionally, there was an extra script being generated in
OTRExporter/CMakeLists.txt that used the same CHMOD logic, but did not
accurately declare its minimum version to 3.19, this removes that unused
logic.

* OTRExporter: accept a rom path as an argument to extract_assets.py
2022-08-16 09:34:30 +02:00
..
Default.cmake Move to cmake across all platforms (#363) 2022-08-05 07:59:19 +02:00
DefaultCXX.cmake Move to cmake across all platforms (#363) 2022-08-05 07:59:19 +02:00
Packaging-2.cmake Move to cmake across all platforms (#363) 2022-08-05 07:59:19 +02:00
Packaging.cmake Move to cmake across all platforms (#363) 2022-08-05 07:59:19 +02:00
Utils.cmake Move to cmake across all platforms (#363) 2022-08-05 07:59:19 +02:00
automate-vcpkg.cmake Move to cmake across all platforms (#363) 2022-08-05 07:59:19 +02:00