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.
- Create a directory for your operator.
- Copy the top level
CMakeLists.txtfile from one of the examples to this directory. - Create a
srcdirectory for your source code. - Copy the
src/PackConfig.json.infile from one of the examples to yoursrcdirectory. - Copy the
src/CMakeLists.txtfile from one of the examples to yoursrcdirectory. - Edit the
CMakeLists.txtfiles to have the right project, source, and target names.
