Spaces:
Build error
Build error
Download third-party/DPVO/Pangolin/cmake/CreateMethodCallFile.cmake from Form-Fighter/FormFighterAIStack: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/spaces/Form-Fighter/FormFighterAIStack/resolve/refs%2Fpr%2F6/third-party/DPVO/Pangolin/cmake/CreateMethodCallFile.cmake
- Command line
-
hf download hf://spaces/Form-Fighter/FormFighterAIStack@refs/pr/6/third-party/DPVO/Pangolin/cmake/CreateMethodCallFile.cmake
-
curl -L -o CreateMethodCallFile.cmake https://huggingface.co/spaces/Form-Fighter/FormFighterAIStack/resolve/refs%2Fpr%2F6/third-party/DPVO/Pangolin/cmake/CreateMethodCallFile.cmake
550 Bytes
| macro( CreateMethodCallFile filename namespace function symbols) | |
| file(WRITE ${filename} "// CMake generated file. Do Not Edit.\n\n#pragma once\n\nnamespace ${namespace} {\n\n") | |
| foreach( symbol ${symbols} ) | |
| file(APPEND ${filename} "void ${symbol}();\n") | |
| endforeach() | |
| file(APPEND ${filename} "\ninline bool ${function}()\n{\n") | |
| foreach( symbol ${symbols} ) | |
| file(APPEND ${filename} " ${symbol}();\n") | |
| endforeach() | |
| file(APPEND ${filename} " return true;\n}\n\n} // ${namespace}\n") | |
| endmacro() | |