Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 2.35 KB

build.md

File metadata and controls

29 lines (24 loc) · 2.35 KB

Include Files

Micropather

Micropather's files are already provided in /extlibs/src/micropather/ and micropather.h is already placed in /extlibs/include/micropather/

Nazara

Teal doesn't use Nazara v0.4, it uses a nightly. You can use any Nazara nightly as long as it is more recent than commit 394f9eee
Link to NazaraEngine's GitHub repository ; Some prebuilts are available here

  • If you downloaded an archive correctly packaged, unzip it into /build/ (or make a symbolic link of the package folder if you already have prebuilts somewhere else. To package Nazara Engine with your binaries, go into its build folder and run premake5 --pack-libdir=<msvc|mingw|gmake|...> package)
  • Use premake5 --lib-toolset=<vs2017|gmake|gmake2|...> install_nazara (if you need to update Nazara Engine, you can easily wipe the files with premake5 --toolset=<...> clean_nazara)
    or, if the archive is incorrectly packaged (manual way):
  • Place [package/include/](Nazara|NDK) into /extlibs/include/nazara/

Binaries

Micropather

Note: Micropather is already built for VS2015 & VS2017. You can skip this step if you use Visual Studio
Link to Micropather's GitHub repository (no need to download any file, the needed one are already there)

  • Move into /extlibs/src/micropather/ and launch premake5 for micropather, then build it
  • Copy the .lib/.a/.pdb files into /extlibs/lib/<YourIDE>/<YourPlatform>/micropather/ e.g. /extlibs/lib/gmake/x64/micropather/

Nazara

  • If you used premake5 install_nazara, do nothing
    else:
  • Download the prebuilts if you use one of the corresponding compilers, else, download the sources and build it.
  • Copy the .lib/.pdb/.a/.so files into /extlibs/lib/<YourIDE>/<YourPlatform>/nazara/ e.g. /extlibs/lib/vs2017/x86/nazara/, then copy the .dll files into /wdirs/<YourPlatform>/

Build

Finally, get into /build/ and use one of the available Build_* scripts in utility or launch premake5 to generate project files for your IDE (try premake5 --help to have the list of available actions)
Then, just build it.