From 85fb2bff38b2ef6cb17e86c5f602ee09a365b117 Mon Sep 17 00:00:00 2001 From: Andy Belle-Isle Date: Wed, 28 Aug 2019 00:57:57 -0400 Subject: Added LuaBridge support --- lib/LuaBridge/Tests/README.md | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 lib/LuaBridge/Tests/README.md (limited to 'lib/LuaBridge/Tests/README.md') diff --git a/lib/LuaBridge/Tests/README.md b/lib/LuaBridge/Tests/README.md new file mode 100644 index 0000000..73df28d --- /dev/null +++ b/lib/LuaBridge/Tests/README.md @@ -0,0 +1,45 @@ +# LuaBridge Unit Tests + +## Lunix and MacOS + +Have CMake 3.5+ and a compiler supporting C++11 installed. + +Run cmake to generate Makefiles: + +```sh +mkdir build +cd build +cmake .. +``` + +Build the project: + +```sh +make -j +``` + +Run tests from the `build` directory: + +```sh +./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): + +```cmd +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. -- cgit v1.2.3