From 7dd1561a883a28ffa275e1a097bd82853b4cc6f8 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Wed, 18 Dec 2013 23:54:55 +0000 Subject: fixed bindings generation --- lib/tolua++/CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/tolua++/CMakeLists.txt (limited to 'lib/tolua++/CMakeLists.txt') 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) -- cgit v1.2.3