Skip to content

eliasdaler/cmake-lua-with-sol2-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo shows how to make a simple C++ program which uses sol2 and builds Lua manually with CMake.

Also see: https://edw.is/using-lua-with-cpp/

Dependencies

  • git
  • CMake 3.18+
  • A compiler which can compile C++17 (and later)

How-to

git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .
./src/game

About

This repo shows how to build a basic program in C++ which uses Lua with sol2.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published