Download vendor/libigl/cmake/igl/modules/xml.cmake from AVSim/simulation-package: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/vendor/libigl/cmake/igl/modules/xml.cmake
- Command line
-
hf download hf://datasets/AVSim/simulation-package/vendor/libigl/cmake/igl/modules/xml.cmake
-
curl -L -o xml.cmake https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/vendor/libigl/cmake/igl/modules/xml.cmake
569 Bytes
| # 1. Define module | |
| igl_add_library(igl_xml) | |
| # 2. Include headers | |
| include(GNUInstallDirs) | |
| target_include_directories(igl_xml ${IGL_SCOPE} | |
| $<BUILD_INTERFACE:${libigl_SOURCE_DIR}/include> | |
| $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> | |
| ) | |
| # 3. Target sources | |
| file(GLOB INC_FILES "${libigl_SOURCE_DIR}/include/igl/xml/*.h") | |
| file(GLOB SRC_FILES "${libigl_SOURCE_DIR}/include/igl/xml/*.cpp") | |
| igl_target_sources(igl_xml ${INC_FILES} ${SRC_FILES}) | |
| # 4. Dependencies | |
| include(tinyxml2) | |
| target_link_libraries(igl_xml ${IGL_SCOPE} | |
| igl::core | |
| tinyxml2::tinyxml2 | |
| ) | |