duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

CMakeLists.txt (766B)


      1 add_library(WinPixEventRuntime::WinPixEventRuntime SHARED IMPORTED GLOBAL)
      2 
      3 if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "arm64")
      4   set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
      5     IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/binarm64/WinPixEventRuntime.dll"
      6     IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/libarm64/WinPixEventRuntime.lib"
      7     INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
      8   )
      9 else()
     10   set_target_properties(WinPixEventRuntime::WinPixEventRuntime PROPERTIES
     11     IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}/bin64/WinPixEventRuntime.dll"
     12     IMPORTED_IMPLIB "${CMAKE_CURRENT_SOURCE_DIR}/lib64/WinPixEventRuntime.lib"
     13     INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/include"
     14   )
     15 endif()