Highly extensible node-graph based computing platform.
Run GenerateProjectFiles
script to build Nodos Package Manager.
You'll be able to install the latest Nodos engine version using nodos
CLI tool.
- Download the engines (or SDK only distributions) under
Engine/
folder. - Place your module repo under
Module/
folder. - Add your module to the
CMakeLists.txt
file in the root of the project. A sample CMakeLists.txt file:
# Specify which versions you want to use
nos_find_sdk("1.2.0" NOS_PLUGIN_SDK_TARGET NOS_SUBSYSTEM_SDK_TARGET NOS_SDK_DIR)
# If you have a module or subsystem dependency, nosman will get the dependency for you:
nos_get_module("nos.sys.vulkan" "5.2" NOS_SYS_VULKAN_TARGET)
# Under a folder where you have your plugin (with .noscfg)
nos_add_plugin("MyPlugin" "${NOS_PLUGIN_SDK_TARGET};${NOS_SYS_VULKAN_TARGET};${OTHER_DEPENDENCIES}" "${INCLUDE_FOLDERS}")
# You can generate flatbuffers files with:
nos_generate_flatbuffers("${YOUR_FBS_FOLDERS}" "${DESTINATION_FOLDER}" "cpp" "${FBS_INCLUDE_FOLDERS}" MY_PLUGIN_GENERATED_FILES)
target_sources(MyPlugin PUBLIC ${MY_PLUGIN_GENERATED_FILES})
- Run
cmake
to generate the project files:cmake -S ./Toolchain/CMake -B Project -DPROJECT_NAME=<your project name>
Nodos uses flatbuffers as data serialization/schema language.
Use flatc in the SDK /bin
folder to generate code.
Builtin flatbuffers are also available in the SDK under /types
folder.
You can still use Nodos SDK without this repository, by including SDK/cmake
folder in your project:
list(APPEND CMAKE_MODULE_PATH "${NODOS_SDK_DIR}/cmake")
find_package(nosPluginSDK REQUIRED)
find_package(nosSubsystemSDK REQUIRED)