-
Replace the existing apps/libdfx_app.C contents with the user required application.
-
mkdir build
-
cd build
-
Ensure required tool chain added to your path
-
cmake -DCMAKE_TOOLCHAIN_FILE="cmake tool chain file(complete path)" ..
-
Example: cmake -DCMAKE_TOOLCHAIN_FILE="../libdfx/cmake/toolchain.cmake" ..
-
-
make
-
The final elf will be available at: apps/dfx_app