Build CCF Applications

Note

Before building a CCF application, make sure that CCF is installed (see Install CCF).

Native applications are built into executables using the functions provided by CCF’s cmake/ccf_app.cmake; Rust applications use add_ccf_rust_app, described in Example app (Rust).

For example, for the js_generic JavaScript application:

add_ccf_app(
  js_generic
  SRCS
    ${CCF_DIR}/src/apps/js_generic/js_generic.cpp
    ${CCF_DIR}/samples/apps/main.cpp
  INSTALL_LIBS ON
)