Skip to content

aarlt/cmake_vcpkg_imgui_emscripten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake-vcpkg-imgui-emscripten

IF ANYONE FOUND THIS HERE, I HAVE A QUESTION:

Normal Build

git clone https://github.com/aarlt/cmake-vcpkg-imgui-emscripten
cd cmake-vcpkg-imgui-emscripten
mkdir build
cd build
cmake ..
make

Emscripten Build

  • install emsdk
git clone https://github.com/aarlt/cmake-vcpkg-imgui-emscripten
cd cmake-vcpkg-imgui-emscripten
mkdir build
cd build
emcmake cmake .. "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=${EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" "-DVCPKG_TARGET_TRIPLET=wasm32-emscripten" "-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
make

Start http-server

npx http-server

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published