summaryrefslogtreecommitdiffstats
path: root/lib/tolua++/CMakeLists.txt
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 00:54:55 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-19 00:59:07 +0100
commit7dd1561a883a28ffa275e1a097bd82853b4cc6f8 (patch)
treed73e7b0709f3ed12c98c26cc7399aee0b06c4ebf /lib/tolua++/CMakeLists.txt
parentRevert "Removed unused ToLua files." to allow the new cmake system to build on tolua++ on linux (diff)
downloadcuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.tar
cuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.tar.gz
cuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.tar.bz2
cuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.tar.lz
cuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.tar.xz
cuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.tar.zst
cuberite-7dd1561a883a28ffa275e1a097bd82853b4cc6f8.zip
Diffstat (limited to 'lib/tolua++/CMakeLists.txt')
-rw-r--r--lib/tolua++/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt
new file mode 100644
index 000000000..2b071108c
--- /dev/null
+++ b/lib/tolua++/CMakeLists.txt
@@ -0,0 +1,17 @@
+
+cmake_minimum_required (VERSION 2.6)
+project (tolua++)
+
+include_directories ("${PROJECT_SOURCE_DIR}/../../src/")
+include_directories ("${PROJECT_SOURCE_DIR}/include/")
+include_directories ("${PROJECT_SOURCE_DIR}/../")
+
+file(GLOB SOURCE
+ "src/bin/*.c"
+ "src/lib/*.c"
+)
+
+add_executable(tolua ${SOURCE})
+
+#m is the standard math librarys
+target_link_libraries(tolua lua m)