|
2 | 2 | <img src="http://vinniefalco.github.io/LuaBridgeDemo/powered-by-lua.png"> |
3 | 3 | </a><br> |
4 | 4 |
|
5 | | -# LuaBridge 2.8 |
| 5 | +# LuaBridge 2.10 |
6 | 6 |
|
7 | 7 | [LuaBridge][1] is a lightweight and dependency-free library for mapping data, |
8 | 8 | functions, and classes back and forth between C++ and [Lua][2] (a powerful, |
@@ -41,38 +41,32 @@ There are the following unit test flavors: |
41 | 41 | * `Tests54` - uses Lua 5.4.4 |
42 | 42 | * `Tests54Cxx17` - uses Lua 5.4.4 and C++17 features |
43 | 43 |
|
44 | | -Build using Make on Linux/MacOS: |
| 44 | +Build using Make on Linux/MacOS/MinGW/WSL2: |
45 | 45 | ```bash |
46 | | -clone --recurse-submodules git@github.com:vinniefalco/LuaBridge.git |
| 46 | +clone --recurse-submodules https://github.com/vinniefalco/LuaBridge |
47 | 47 | cd LuaBridge |
48 | 48 | cmake -DCMAKE_BUILD_TYPE=Debug -B build |
49 | 49 | # or cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -B build |
50 | 50 | # or cmake -DCMAKE_BUILD_TYPE=Release -B build |
51 | | -cd build |
52 | | -make -j |
| 51 | +cmake --build build |
53 | 52 | ``` |
54 | 53 |
|
55 | 54 | Generate XCode project on MacOS: |
56 | 55 | ```bash |
57 | | -clone --recurse-submodules git@github.com:vinniefalco/LuaBridge.git |
| 56 | +clone --recurse-submodules https://github.com/vinniefalco/LuaBridge |
58 | 57 | cd LuaBridge |
59 | 58 | cmake -G Xcode -B build |
60 | 59 | # Generates XCode project build/LuaBridge.xcodeproj |
61 | 60 | ``` |
62 | 61 |
|
63 | 62 | Generate MSVS solution on Windows: |
64 | | -```cmd |
65 | | -clone --recurse-submodules git@github.com:vinniefalco/LuaBridge.git |
| 63 | +```bash |
| 64 | +clone --recurse-submodules https://github.com/vinniefalco/LuaBridge |
66 | 65 | cd LuaBridge |
67 | 66 | mkdir build |
68 | 67 | cd build |
69 | | -cmake -G "Visual Studio 17 2022 Win64" -B build |
70 | | -# or cmake -G "Visual Studio 15 2017 Win64" -B build |
71 | | -# or cmake -G "Visual Studio 14 2015" -B build |
72 | | -# or cmake -G "Visual Studio 15 2017 Win64" -B build |
73 | | -# or cmake -G "Visual Studio 15 2017" -B build |
74 | | -# or cmake -G "Visual Studio 15 2019" -A Win64 -B build |
75 | | -# or cmake -G "Visual Studio 15 2019" -B build |
| 68 | +cmake -B build # 64-bit version |
| 69 | +# or cmake -A Win32 -B build |
76 | 70 | # Generates MSVS solution build/LuaBridge.sln |
77 | 71 | ``` |
78 | 72 |
|
|
0 commit comments