mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Print bitness
This commit is contained in:
parent
1cfa54d908
commit
e70b545422
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -GNinja
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -GNinja -Werror=dev
|
||||||
cmake --build build
|
cmake --build build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
@ -2,6 +2,12 @@ cmake_minimum_required(VERSION 3.13 FATAL_ERROR)
|
|||||||
|
|
||||||
project(isle CXX)
|
project(isle CXX)
|
||||||
|
|
||||||
|
math(EXPR bits "8 * ${CMAKE_SIZEOF_VOID_P}")
|
||||||
|
message(STATUS "Building ${bits}-bit Lego Island")
|
||||||
|
if (NOT bits EQUAL 32)
|
||||||
|
message(WARNING "Only 32-bit executables are supported")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(MSVC_FOR_DECOMP FALSE)
|
set(MSVC_FOR_DECOMP FALSE)
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
# Visual C++ 4.2 -> cl version 10.2.0
|
# Visual C++ 4.2 -> cl version 10.2.0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user