ReStreet: FIFA Street (2012) recompiled for Windows PC, with online play, a launcher with friends, chat and rooms. Bring your own game.
Fix World Tour module recompilation
SamuelitoDaVila893265a6041a
diff --git a/Installer/recomp-template/CMakeLists.txt b/Installer/recomp-template/CMakeLists.txtindex c3526ea..f160996 100644--- a/Installer/recomp-template/CMakeLists.txt+++ b/Installer/recomp-template/CMakeLists.txt@@ -10,7 +10,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)include(generated/rexglue.cmake)-# Sourcesset(FIFASTREET_SOURCESsrc/main.cpp)@@ -19,6 +18,15 @@ if(WIN32)enable_language(RC)add_executable(fifastreet WIN32 ${FIFASTREET_SOURCES})target_sources(fifastreet PRIVATE src/fifastreet.rc)++ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")+ set_source_files_properties(src/fifastreet.rc PROPERTIES+ COMPILE_OPTIONS "-P"+ )+ target_include_directories(fifastreet PRIVATE+ "${CMAKE_CURRENT_SOURCE_DIR}/src"+ )+ endif()else()add_executable(fifastreet ${FIFASTREET_SOURCES})endif()@@ -26,17 +34,11 @@ endif()rexglue_setup_target(fifastreet GPU_PLUGINS xenos)target_include_directories(fifastreet PRIVATE src)-# The source SDK keeps ImGui private to rexruntime; its public UI headers-# still require the include directory when compiling the host application.-# Propagate headers only, keeping the ImGui objects in the shared runtime.if(TARGET imgui::imgui)target_include_directories(fifastreet PRIVATE$<TARGET_PROPERTY:imgui::imgui,INTERFACE_INCLUDE_DIRECTORIES>)endif()-# Guest SIMD code must be optimized even when using the debug runtime. Keep-# debug symbols and checked runtime libraries while avoiding unoptimized SIMD-# wrappers in the game and its separately compiled DLL.if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")target_compile_options(fifastreet PRIVATE -O2)if(TARGET fifastreet_recomp)@@ -44,7 +46,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")endif()endif()-# FIFA Street DLL-specific kernel stubs.if(TARGET fifastreet_fifadllzf_xex)if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")target_compile_options(fifastreet_fifadllzf_xex PRIVATE -O2)@@ -52,4 +53,12 @@ if(TARGET fifastreet_fifadllzf_xex)target_sources(fifastreet_fifadllzf_xex PRIVATEsrc/stubs.cpp)-endif()+endif()++# World Tour competition engine DLL. Keep it optimized, but do not attach+# fifadllzf-specific stubs to this independent guest module.+if(TARGET fifastreet_FootballCompEngzf_xex)+ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")+ target_compile_options(fifastreet_FootballCompEngzf_xex PRIVATE -O2)+ endif()+endif()