mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[c-host] renamed finall to just plain host
This commit is contained in:
15
host/cmake/PostCapture.cmake
Normal file
15
host/cmake/PostCapture.cmake
Normal file
@@ -0,0 +1,15 @@
|
||||
list(REMOVE_AT CAPTURE 0)
|
||||
list(REMOVE_AT CAPTURE_LINK 0)
|
||||
|
||||
list(LENGTH CAPTURE CAPTURE_COUNT)
|
||||
file(APPEND ${CAPTURE_H} "#define LG_CAPTURE_COUNT ${CAPTURE_COUNT}\n")
|
||||
|
||||
foreach(renderer ${CAPTURE})
|
||||
file(APPEND ${CAPTURE_C} "extern CaptureInterface Capture_${renderer};\n")
|
||||
endforeach()
|
||||
|
||||
file(APPEND ${CAPTURE_C} "\nconst CaptureInterface * CaptureInterfaces[] =\n{\n")
|
||||
foreach(renderer ${CAPTURE})
|
||||
file(APPEND ${CAPTURE_C} " &Capture_${renderer},\n")
|
||||
endforeach()
|
||||
file(APPEND ${CAPTURE_C} " NULL\n};")
|
Reference in New Issue
Block a user