mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
Toolchain+Meta: Add script to build CMake from source
Since we upstreamed CMake support for Serenity, we can use the Platform files from upstream instead of keeping our local copy. While not added in this commit, we can add patching capabilities for the platform files similar to what we do for gdb, llvm, gcc, and binutils later.
This commit is contained in:
parent
8855334fcc
commit
e4a59f664b
2 changed files with 67 additions and 0 deletions
6
Meta/CMake/cmake-version.cmake
Normal file
6
Meta/CMake/cmake-version.cmake
Normal file
|
@ -0,0 +1,6 @@
|
|||
# Note: Update this alongside Toolchain/BuildCMake.sh
|
||||
set(version_ok 0)
|
||||
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.25.1)
|
||||
set(version_ok 1)
|
||||
endif()
|
||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E echo "${version_ok}")
|
Loading…
Add table
Add a link
Reference in a new issue