mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
Merge branch 'main' of https://github.com/geode-sdk/geode into main
This commit is contained in:
commit
b2d677111a
3 changed files with 17 additions and 11 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -27,7 +27,8 @@ jobs:
|
|||
os: windows-latest
|
||||
id: win
|
||||
extra_flags: >
|
||||
-DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl
|
||||
-DCMAKE_C_COMPILER=%VCINSTALLDIR%\Tools\Llvm\bin\clang-cl.exe
|
||||
-DCMAKE_CXX_COMPILER=%VCINSTALLDIR%\Tools\Llvm\bin\clang-cl.exe
|
||||
-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DGEODE_DEBUG=On
|
||||
cli_cmd: ''
|
||||
package_cmd: 'makensis -WX -V3 ./installer/windows/installer.nsi'
|
||||
|
@ -60,11 +61,6 @@ jobs:
|
|||
arch: amd64_x86
|
||||
if: matrix.config.id == 'win'
|
||||
|
||||
- name: Install ninja
|
||||
shell: bash
|
||||
run: choco install ninja
|
||||
if: matrix.config.id == 'win'
|
||||
|
||||
- name: Download CLI
|
||||
uses: robinraju/release-downloader@v1.8
|
||||
with:
|
||||
|
|
|
@ -109,8 +109,12 @@ set(CMAKE_WARN_DEPRECATED ON CACHE BOOL "" FORCE)
|
|||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag(-Wno-everything SUPPORTS_W_NO_EVERYTHING)
|
||||
if (SUPPORTS_W_NO_EVERYTHING)
|
||||
target_compile_options(capstone-static PRIVATE -Wno-everything)
|
||||
target_compile_options(keystone PRIVATE -Wno-everything)
|
||||
if (TARGET capstone-static)
|
||||
target_compile_options(capstone-static PRIVATE -Wno-everything)
|
||||
endif()
|
||||
if (TARGET keystone)
|
||||
target_compile_options(keystone PRIVATE -Wno-everything)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
target_sources(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/entry.cpp)
|
||||
|
|
|
@ -181,9 +181,15 @@ if (NOT GEODE_BUILDING_DOCS)
|
|||
include(CheckCXXCompilerFlag)
|
||||
check_cxx_compiler_flag(-Wno-everything SUPPORTS_W_NO_EVERYTHING)
|
||||
if (SUPPORTS_W_NO_EVERYTHING)
|
||||
target_compile_options(md4c PRIVATE -Wno-everything)
|
||||
target_compile_options(zlib PRIVATE -Wno-everything)
|
||||
target_compile_options(zlibstatic PRIVATE -Wno-everything)
|
||||
if (TARGET md4c)
|
||||
target_compile_options(md4c PRIVATE -Wno-everything)
|
||||
endif()
|
||||
if (TARGET zlib)
|
||||
target_compile_options(zlib PRIVATE -Wno-everything)
|
||||
endif()
|
||||
if (TARGET zlibstatic)
|
||||
target_compile_options(zlibstatic PRIVATE -Wno-everything)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Regex support
|
||||
|
|
Loading…
Reference in a new issue