Share

Create a directory for your project and copy the required files

The Bifrost SDK uses CMake to build and package operators.

You will need two CMakeLists.txt files and a PackConfig.json.in file to build and package your operator.

The Bifrost examples are designed so that you can copy the required files from any one of the examples and use them in your project.

  1. Create a directory for your operator.
  2. Copy the top level CMakeLists.txt file from one of the examples to this directory.
  3. Create a src directory for your source code.
  4. Copy the src/PackConfig.json.in file from one of the examples to your src directory.
  5. Copy the src/CMakeLists.txt file from one of the examples to your src directory.
  6. Edit the CMakeLists.txt files to have the right project, source, and target names.

Was this information helpful?