From 26ea6a796c8468f4114dc4796b98687042371e8e Mon Sep 17 00:00:00 2001 From: Piotr Krupa Date: Thu, 18 Sep 2025 23:06:19 +0200 Subject: [PATCH] Add CMakeLists.txt for test0 example --- .gitignore | 15 ++++++++------- CMakeLists.txt | 7 ++++++- examples/CMakeLists.txt | 1 + 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 examples/CMakeLists.txt 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)