Skip to content

Conversation

pedro-vicente
Copy link

Hi,
I did a small change to the CMakeLists.txt to build some examples

add_executable(minimal ${CMAKE_SOURCE_DIR}/examples/C++/minimal/main.cpp)
add_executable(call_js_from_cpp ${CMAKE_SOURCE_DIR}/examples/C++/call_js_from_cpp/main.cpp)
add_executable(call_js_from_c ${CMAKE_SOURCE_DIR}/examples/C/call_js_from_c/main.c)

and added a bash script to build with CMake

#!/bin/bash
mkdir -p build

# webui-2.5.0, examples
pushd build
cmake .. --fresh
cmake --build . --config Debug 
popd

@AlbertShown
Copy link
Contributor

Thank you @pedro-vicente

@AlbertShown AlbertShown merged commit e1ed5cd into webui-dev:main Aug 5, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants