summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
author“pengxuanzheng” <[email protected]>2022-07-05 09:26:56 +0000
committer“pengxuanzheng” <[email protected]>2022-07-05 09:26:56 +0000
commit368976573d409c5eda178fc5081bd47e0f1a6220 (patch)
tree8176ab8b60316f3fc92cc36d695f37bddb417dbf /example
parente075fb586aa9e72226be6888ded7a2eba72b8cd4 (diff)
✨ feat(TSG-11123): 删除多余的文件
Diffstat (limited to 'example')
-rw-r--r--example/luatest/CMakeLists.txt2
-rw-r--r--example/multithread.cpp2
-rw-r--r--example/single_thread.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/example/luatest/CMakeLists.txt b/example/luatest/CMakeLists.txt
index 9d1ba33..4f2205e 100644
--- a/example/luatest/CMakeLists.txt
+++ b/example/luatest/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5)
project (luatest)
-include_directories("../../include/")
+include_directories("../../src/")
link_directories("${CMAKE_BINARY_DIR}/src")
link_libraries(tsglua pthread dl)
diff --git a/example/multithread.cpp b/example/multithread.cpp
index b6090ce..a5a2119 100644
--- a/example/multithread.cpp
+++ b/example/multithread.cpp
@@ -12,7 +12,7 @@ extern "C"
#include<unistd.h>
#include<time.h>
}
-#include"../include/tsg_lua_interface.h"
+#include"../src/tsg_lua_interface.h"
#ifndef MAX_THREAD_NUM
#define MAX_THREAD_NUM 9
#endif
diff --git a/example/single_thread.cpp b/example/single_thread.cpp
index 93af151..d188c0f 100644
--- a/example/single_thread.cpp
+++ b/example/single_thread.cpp
@@ -8,7 +8,7 @@ extern "C"
#include<stdio.h>
#include<string.h>
}
-#include"../include/tsg_lua_interface.h"
+#include"../src/tsg_lua_interface.h"
char *content0 = (char *)"HanMeimei said \"hello\" to LiLei";
char content1[255];