Go to file
Marco Hutter 8e29eee778 Fixed apparent typo (copy+paste error) 2021-03-04 15:28:13 +01:00
.vscode
Cesium3DTiles Fix build in VS2017. 2021-03-04 13:08:14 +11:00
CesiumAsync
CesiumGeometry
CesiumGeospatial Fix build in VS2017. 2021-03-04 13:08:14 +11:00
CesiumGltf Fixed apparent typo (copy+paste error) 2021-03-04 15:28:13 +01:00
CesiumGltfReader
CesiumIonClient Fix typo. 2021-03-03 15:54:56 +11:00
CesiumNativeTests
CesiumUtility Don't qualify class name unnecessarily. 2021-03-04 13:51:32 +11:00
doc
extern
tools/generate-gltf-classes
.clang-format
.gitignore
.gitmodules
.travis.yml Install doxygen. 2021-03-04 17:39:20 +11:00
CMakeLists.txt
README.md

README.md

Cesium Native

CesiumJS-like functionality for C++.

Prerequisites

  • Visual Studio 2019 or GCC v7.x+. Other compilers may work but haven't been tested.
  • CMake (add it to your path during install!)

Getting Started

Check out the repo with:

git clone git@github.com:CesiumGS/cesium-native.git --recurse-submodules

If you forget the --recurse-submodules, nothing will work because the git submodules will be missing. You should be able to fix it with:

git submodule update --init --recursive

You can then build cesium-native on the command-line with CMake:

mkdir build
cmake -B build -S .
cmake --build build --config Debug

Or, you can easily build it in Visual Studio Code with the CMake Tools extension installed. It should prompt you to generate project files from CMake. On Windows, choose Visual Studio 2019 Release - amd64 as the kit to build. Or choose an appropriate kit for your platform. Then press Ctrl-Shift-P and execute the CMake: Build task or press F7.

Building documentation

  • Install Doxygen.
  • Run: cmake --build build --target cesium-native-docs
  • Open build/doc/html/index.html