• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1add_library(gfxstream-snapshot.headers INTERFACE)
2target_include_directories(gfxstream-snapshot.headers INTERFACE include)
3
4add_library(
5    gfxstream-snapshot
6    TextureLoader.cpp
7    TextureSaver.cpp)
8target_link_libraries(
9    gfxstream-snapshot
10    PRIVATE
11    aemu-base.headers
12    aemu-host-common.headers)
13target_include_directories(
14    gfxstream-snapshot
15    PUBLIC
16    ${AEMU_COMMON_REPO_ROOT}/include)
17if (APPLE)
18    target_compile_definitions(
19        gfxstream-snapshot PRIVATE -Dfseeko64=fseek -Dftello64=ftell)
20endif()
21