Skip to content

Latest commit

 

History

History
 
 

Tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

LuaBridge Unit Tests

Lunix and MacOS

Have CMake 3.5+ and a compiler supporting C++11 installed.

Run cmake to generate Makefiles:

mkdir build
cd build
cmake ..

Build the project:

make -j

Run tests from the build directory:

./Tests/LuaBridgeTests51
./Tests/LuaBridgeTests52

Windows

Have 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):

mkdir build
cd build
# either
cmake -G Visual Studio 14 2015 ..
# or
cmake -G Visual Studio 15 2017 ..

Open the solution LuaBridge.sln in MSVC.

Set LuaBridgeTests51 or LuaBridgeTests52 as a startup project and run it.