Files
GVFG_Standalone/sdk/giga_ioctl/CMakeLists.txt
T
Mark.lin 1574e90b49 Refactor GVFG channel and driver access flow
- support only the new vfg100_0821c driver; legacy drivers and IOCTL contracts are intentionally unsupported
- use one SDK handle per physical device with independent CH0/CH1 sessions and selectable event masks
- expose Device Manager friendly names and remove redundant enumerated device indices
- align active capture IOCTLs with the new driver while omitting unsupported OPEN_VIDEO/CLOSE_VIDEO calls
- isolate IOCTL codes, request layouts, and DeviceIoControl calls in the new giga_ioctl DLL
- block reads of pure write-only registers while preserving dual-semantics interrupt status reads
- reduce duplicate signal register queries during open/start
- add zero-copy/copy driver GetFrame timing in microseconds and show it in the preview status
- update public/internal documentation for the revised lifecycle and channel APIs

Validation: static searches and git diff --check only; build intentionally not run.
2026-08-21 17:52:04 +08:00

19 lines
536 B
CMake

add_library(giga_ioctl SHARED
include/giga_ioctl.h
src/giga_ioctl.cpp
src/giga_ioctl_private.h
)
target_include_directories(giga_ioctl PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_compile_definitions(giga_ioctl PRIVATE GIGA_IOCTL_BUILD)
set_target_properties(giga_ioctl PROPERTIES AUTOMOC OFF AUTOUIC OFF AUTORCC OFF)
if (MSVC)
target_compile_options(giga_ioctl PRIVATE /utf-8 /EHsc)
endif()
install(TARGETS giga_ioctl
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)