rename win32 platform to win64, requires latest codegen

This commit is contained in:
matcool 2024-06-10 14:18:17 -03:00
parent 2d274693c1
commit cdaad65440
3 changed files with 5 additions and 5 deletions

View file

@ -49,10 +49,10 @@ elseif (GEODE_TARGET_PLATFORM STREQUAL "MacOS")
set(GEODE_OUTPUT_NAME "Geode") set(GEODE_OUTPUT_NAME "Geode")
set(GEODE_PLATFORM_BINARY "Geode.dylib") set(GEODE_PLATFORM_BINARY "Geode.dylib")
set(GEODE_MOD_BINARY_SUFFIX ".dylib" CACHE STRING "" FORCE) set(GEODE_MOD_BINARY_SUFFIX ".dylib" CACHE STRING "" FORCE)
elseif (GEODE_TARGET_PLATFORM STREQUAL "Win32") elseif (GEODE_TARGET_PLATFORM STREQUAL "Win64")
set_target_properties(${PROJECT_NAME} PROPERTIES set_target_properties(${PROJECT_NAME} PROPERTIES
SYSTEM_NAME Win32 SYSTEM_NAME Win64
GENERATOR_PLATFORM x86 GENERATOR_PLATFORM x64
) )
target_compile_definitions(${PROJECT_NAME} INTERFACE NOMINMAX) target_compile_definitions(${PROJECT_NAME} INTERFACE NOMINMAX)

View file

@ -6,7 +6,7 @@ if (NOT DEFINED GEODE_TARGET_PLATFORM)
set(GEODE_TARGET_PLATFORM "MacOS") set(GEODE_TARGET_PLATFORM "MacOS")
endif() endif()
elseif(WIN32) elseif(WIN32)
set(GEODE_TARGET_PLATFORM "Win32") set(GEODE_TARGET_PLATFORM "Win64")
elseif(ANDROID) elseif(ANDROID)
if (ANDROID_ABI STREQUAL "arm64-v8a") if (ANDROID_ABI STREQUAL "arm64-v8a")
set(GEODE_TARGET_PLATFORM "Android64") set(GEODE_TARGET_PLATFORM "Android64")

View file

@ -49,7 +49,7 @@ config-args = [
"-DCMAKE_CXX_COMPILER=Clang", "-DCMAKE_CXX_COMPILER=Clang",
"-DCMAKE_C_COMPILER=Clang", "-DCMAKE_C_COMPILER=Clang",
"-DGEODE_BUILDING_DOCS=On", "-DGEODE_BUILDING_DOCS=On",
"-DGEODE_PLATFORM_NAME=Win32", "-DGEODE_PLATFORM_NAME=Win64",
"-DGEODE_CODEGEN_CMAKE_ARGS=-DCMAKE_CXX_COMPILER=Clang;-DCMAKE_C_COMPILER=Clang", "-DGEODE_CODEGEN_CMAKE_ARGS=-DCMAKE_CXX_COMPILER=Clang;-DCMAKE_C_COMPILER=Clang",
"-DWIN32=On" "-DWIN32=On"
] ]