Blame | Last modification | View Log | Download
# LuaBridge Unit Tests## Lunix and MacOSHave CMake 3.5+ and a compiler supporting C++11 installed.Run cmake to generate Makefiles:```shmkdir buildcd buildcmake ..```Build the project:```shmake -j```Run tests from the `build` directory:```sh./Tests/LuaBridgeTests51./Tests/LuaBridgeTests52```# WindowsHave CMake 3.5+ and MSVC 215 or 2017 installed.Run cmake to generate MSVC solution and project files (run `cmake -G` to see all variants):```cmdmkdir buildcd build# eithercmake -G Visual Studio 14 2015 ..# orcmake -G Visual Studio 15 2017 ..```Open the solution `LuaBridge.sln` in MSVC.Set `LuaBridgeTests51` or `LuaBridgeTests52` as a startup project and run it.