• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(BUILD_STANDALONE ON PARENT_SCOPE)
2set(GFXSTREAM_BASE_LIB aemu-base PARENT_SCOPE)
3set(GFXSTREAM_HOST_COMMON_LIB aemu-host-common PARENT_SCOPE)
4
5# aemu-base overrides:
6#   - aemu-base-srcs: aemu-base source files
7#   - aemu-base-test-srcs: aemu-base test source files
8set(aemu-base-srcs
9    AlignedBuf.cpp
10    CLog.cpp
11    CpuTime.cpp
12    FileUtils.cpp
13    FunctorThread.cpp
14    GLObjectCounter.cpp
15    HealthMonitor.cpp
16    LayoutResolver.cpp
17    MemStream.cpp
18    StdioStream.cpp
19    MemoryTracker.cpp
20    MessageChannel.cpp
21    PathUtils.cpp
22    ring_buffer.cpp
23    SharedLibrary.cpp
24    StringFormat.cpp
25    Stream.cpp
26    StreamSerializing.cpp
27    SubAllocator.cpp
28    System.cpp
29    Tracing.cpp)
30if(AEMU_BASE_USE_LZ4)
31    list(APPEND aemu-base-srcs CompressingStream.cpp DecompressingStream.cpp)
32endif()
33
34set(aemu-base-posix-srcs
35    SharedMemory_posix.cpp
36    Thread_pthread.cpp)
37set(aemu-base-windows-srcs
38    msvc.cpp
39    SharedMemory_win32.cpp
40    Thread_win32.cpp
41    Win32UnicodeString.cpp)
42
43if (APPLE)
44    set(aemu-base-platform-srcs ${aemu-base-posix-srcs} system-native-mac.mm)
45elseif (WIN32)
46    set(aemu-base-platform-srcs ${aemu-base-windows-srcs})
47else()
48    set(aemu-base-platform-srcs ${aemu-base-posix-srcs})
49endif()
50
51set(aemu-base-srcs ${aemu-base-srcs} ${aemu-base-platform-srcs} PARENT_SCOPE)
52
53set(aemu-base-test-srcs
54    AlignedBuf_unittest.cpp
55    HealthMonitor_unittest.cpp
56    ArraySize_unittest.cpp
57    LayoutResolver_unittest.cpp
58    LruCache_unittest.cpp
59    ManagedDescriptor_unittest.cpp
60    Optional_unittest.cpp
61    ring_buffer_unittest.cpp
62    StringFormat_unittest.cpp
63    SubAllocator_unittest.cpp
64    TypeTraits_unittest.cpp
65    WorkerThread_unittest.cpp PARENT_SCOPE)
66