mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-27 13:00:47 +01:00
Currently does nothing other than load it (as the library also doesn't do anything yet). Ensured it was working by temporarily creating a test entrypoint and doing `Call` on to it. Next step after this is to reimplement some of the nasty hacks FEX is doing inside the unixlib code itself.
21 lines
698 B
CMake
21 lines
698 B
CMake
add_library(CommonWindowsRuntime STATIC LoadConfig.S)
|
|
add_subdirectory(CRT)
|
|
add_subdirectory(WinAPI)
|
|
|
|
target_link_libraries(CommonWindowsRuntime FEXCore_Base JemallocLibs)
|
|
target_compile_options(CommonWindowsRuntime PRIVATE -Wno-inconsistent-dllimport)
|
|
target_include_directories(CommonWindowsRuntime PRIVATE "${CMAKE_SOURCE_DIR}/Source/Windows/include/")
|
|
|
|
add_library(CommonWindows STATIC
|
|
Allocator.cpp
|
|
CPUFeatures.cpp
|
|
EnvironmentVariablesHandling.cpp
|
|
FEXUnixLib.cpp
|
|
SHMStats.cpp
|
|
InvalidationTracker.cpp
|
|
ImageTracker.cpp
|
|
Logging.cpp)
|
|
|
|
target_link_libraries(CommonWindows FEXCore_Base)
|
|
target_include_directories(CommonWindows PRIVATE "${CMAKE_SOURCE_DIR}/Source/Windows/include/")
|