![]()
You might want to enable a feature that is The SixtyFPS run-time library supports different features that can be toggled. #BUILD CMAKE LINUX INSTALL#If you prefer to treat SixtyFPS as an external CMake package, then you can also build SixtyFPS from source like a regularĬMake project, install it into a prefix directory of your choice and use find_package(SixtyFPS) in your CMakeLists.txt. Include ( FetchContent ) FetchContent_Declare ( SixtyFPS GIT_REPOSITORY GIT_TAG v0.1.4 SOURCE_SUBDIR api/sixtyfps-cpp ) FetchContent_MakeAvailable ( SixtyFPS ) Insert the following snippet into your CMakeLists.txt to make CMake download the latest release, compile it and make the CMake integration available: You can include SixtyFPS in your CMake project using CMake’s FetchContent feature. You should have the rustc compiler and the cargo build system installed in your path.Ī C compiler that supports C 17 (e.g., MSVC 2019 on Windows) ![]() Install Rust by following the Rust Getting Started Guide. The recommended and most flexible way to use the C API is to build SixtyFPS from sources.įirst you need to install the prerequisites: You can select the CMake Ninja backend by passing -GNinja or setting the CMAKE_GENERATOR environment variable to Ninja. #BUILD CMAKE LINUX GENERATOR#Note: We recommend using the Ninja generator of CMake for the most efficient build and. ![]() Offers a CMake target for convenient linkage. SixtyFPS comes with a CMake integration that automates the compilation step of the.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |