diff --git a/.gitignore b/.gitignore index 03031a8..b36b086 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ -.vs -.vscode -out -build -.idea -cmake-build* -install \ No newline at end of file +.vs +.vscode +out +build +.idea +cmake-build* +install +.cache diff --git a/CMakeLists.txt b/CMakeLists.txt index 901c351..6a60213 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,4 +27,9 @@ target_link_libraries(regenny PRIVATE lua sol2::sol2 luagenny -) \ No newline at end of file +) + +# +# examples +# +add_subdirectory(examples) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..1ffc6c8 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1 @@ +add_executable(test0 test0.cpp)