Skip to content

Latest commit

 

History

History
63 lines (41 loc) · 1.78 KB

Install.md

File metadata and controls

63 lines (41 loc) · 1.78 KB

Installing

KAI is cross-platform across maxOS, Linux and Windows system with many internal and external components. It also has 3rd party dependencies. Don't worry too much: if the 3rd party systems can't be found to make things like a Windowed gui you will still get the TestSuite and colored text-base Console.

Downloading and updating

> git clone git@github.com:cschladetsch/KAI.git
> git submodule init
> git submodule update

Currently the list of external git repos are:

  • RakNet. Cross-platform networking.
  • rang. Cross-platform Colored console output.
  • imgui. Cross-platform Immediate-mode windowing system.

Boost

Install --latest Boost 1.73-- boost 1.72. CMake doesn't yet support 1.73.

For windows:

> .\bootstrap.bat
> .\b2 install debug --date-time --build=complete --with-chrono --with-filesystem --with-system --with-program_options

The same is true for Linux or macOS, just use ./ instead of .\

Ubuntu

> mkdir -p build && cd build
> cmake ..
> make

Windows

You will need cmake and boost installed with at least chrono, system and filesystem libraries.

Then, from the root of the KAI folder structure enter the following:

> mkdir build
> cmake ..
> start *.sln

From there, build the "ALL_BUILD" project, or select a specific Test or App to test.

I suggest you include the GoogleTest integration extension for Visual Studio under windows.

Folders

The resulting interesting folders:

  • KAI/Bin. Executables and test suites.
  • KAI/Include. Root C++ include folder for KAI systems.
  • KAI/Lib. C++ static and shared libraries