Files
oak-editor/engine/render/ipc/CMakeLists.txt
T
Mike-Solar 37845302f9 engine: begin the liboakengine C ABI facade with the IPC subsystem
- oakengine/export.h establishes the OAKENGINE_API visibility macros;
  include/oakengine/ipc.h is the first pure-C surface (41 functions:
  shm, frame slot pool, and the worker IPC messages as POD<->JSON
  build/parse), implemented in engine/src/capi/
- the IPC implementations move to engine/src/oliveimpl (namespace
  olive::engine::internal::ipc); engine/render/ipc/*.h are rebuilt as
  same-name/same-API wrapper classes forwarding across the C boundary
- FrameSlotMeta is shared with the C header verbatim so the app/worker
  wire format (v1) is bit-identical; static_asserts pin sizeof and
  field offsets
- spscringbuffer.h moves to include/oakengine/ as an inline-only
  header (no symbols, not ABI)
- new pure-C test oakengine_ipc_test (make_oakengine_test, no GL)
  covers shm, frame pool, message round-trips and the layout asserts;
  full gtest suite stays green (1986 tests)
2026-07-20 04:12:58 +08:00

40 lines
1.6 KiB
CMake

# Oak - Non-Linear Video Editor
# Copyright (C) 2026 Oak Team
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# The IPC subsystem is migrating behind the liboakengine C ABI facade:
# - include/oakengine/*.h public C API (+ the inline SPSC header)
# - src/oliveimpl/render/ipc/*.h internal implementation headers
# - src/capi/ipc.cpp C ABI implementation
# - render/ipc/*.{h,cpp} implementation sources and the
# consumer-side C++ wrapper headers
set(OLIVE_SOURCES
${OLIVE_SOURCES}
include/oakengine/export.h
include/oakengine/ipc.h
include/oakengine/spscringbuffer.h
src/capi/ipc.cpp
src/oliveimpl/render/ipc/frameslotpool.h
src/oliveimpl/render/ipc/ipcmessage.h
src/oliveimpl/render/ipc/sharedmemoryregion.h
render/ipc/frameslotpool.cpp
render/ipc/frameslotpool.h
render/ipc/ipcmessage.cpp
render/ipc/ipcmessage.h
render/ipc/sharedmemoryregion.cpp
render/ipc/sharedmemoryregion.h
PARENT_SCOPE
)