Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DDA Port] Various improvements to CMake builds (#3208)
* Change glob pattern to include alphabetic versions (0.A, ...) Cherry-picked from commit 35e3ee7 * Fix cmake not generating game version correctly Cherry-picked from commit de1a6ccc325e0682983f3f19446822e4c8e5a514 * CMake linting * format cmake files to adhere to linting rules * cmake linting workflow/action Cherry-picked from a149ceb00807a323cd7eba5fa7a3a7c8b3b0b1b2 * Apply cmake-format * Autofix CMake formatting * Apply cmake-format x2 * Remove dupe conditions from else and endif * Split up long message lines * Remove mentions of INSTALL file. * Improve CMake build script for macOS Cherry-picked from commit 84165ee535561773058130402510657b3621edf1 * cmake: install help directory Cherry-picked from commit 7e588b20ec89abf6de6f674975f814803d9c5e7e * cmake: don't use PREFIX `PREFIX` is a reserved word in CMake and breaks compiler and library detection when set. Using `CMAKE_INSTALL_PREFIX` instead resolves this. Cherry-picked from commit: 7cbcecb18f3c9f91160a0ec45a04d61221096670 * cmake: set RELEASE variable to generate install target Cherry-picked from commit: db8f0d3de2f69c4b355afc9a6153da8abeb63f54 * Set directories on macOS in CMake build script Cherry-picked from commit: 45f6a3b77fd07563a4625b1f313d2c4cb797db0d * cmake: simplify random seed generation for tests Cherry-picked from commit ff4db050877c4cdcb9ae2e5b247eb4f70c1d3eb4 * Fix style * Allow build and run in repo folder in CMake Cherry-picked from commit: 256ef3388407e66b9edaac91ef5993a89511fad7 * Avoid ambiguity in CMake if commands Cherry-picked from commit: f9008b743357fd0eeed206437d284864783015a1 * Fix compilation on MSYS curses emulation environment Cherry-picked from commit: 69a29a0c8ca772ba4ac7b27fefbc7fc48895258e * Install cmake-format for autofix * Bump cmake_minimum_required for chkjson * Fix error in lang install dir --------- Co-authored-by: Kasper Rasmussen <[email protected]> Co-authored-by: Jianxiang Wang (王健翔) <[email protected]> Co-authored-by: lopho <[email protected]> Co-authored-by: Binrui Dong <[email protected]> Co-authored-by: J.W. Jagersma <[email protected]> Co-authored-by: John Bytheway <[email protected]>
- Loading branch information