1
0
Commit Graph

47 Commits

Author SHA1 Message Date
linnemannr
5049fd0fbf Support building on FreeBSD
SetFlags.cmake

	Add -lexecinfo to linker flags for FreeBSD to resolve backtrace()

lib/sqlite/CMakeLists.txt

	Define _XOPEN_SOURCE to 600 instead of __POSIX_VISIBLE to 200112 for
	POSIX 1-2001 support. For POSIX standards, the _XOPEN_SOURCE define
	controls the eventual value of __POSIX_VISIBLE. _XOPEN_SOURCE is defined
	to 500 in sqlite.c if not already defined, which sets up _POSIX_C_SOURCE
	and __POSIX_VISIBLE to the 199506 for POSIX.1c

lib/tolua++/CMakeLists.txt
src/CMakeLists.txt

	Add /usr/local/lib to the library search path for FreeBSD builds

src/OSSupport/Errors.cpp

	Correct the strerror_r() implementation determination to check whether
	_GNU_SOURCE is defined, not what it evaluates to
2015-05-24 20:07:31 -06:00
Mattes D
3ddd2f567c ToLua: Fixed LuaJit compatibility. 2015-05-11 16:19:01 +02:00
archshift
62d5ab15a5 Quick fix for a preprocessor error with clang on OS X 2014-09-02 23:21:34 -07:00
Mattes D
8b8ccac0b8 ToLua++ lib: Assert when usertype is not known. 2014-08-22 10:32:32 +02:00
madmaxoft
36d1972336 ToLua driver: disabled output buffering. 2014-08-03 22:04:49 +02:00
madmaxoft
8bb0baa842 Tolua driver: Fixed wrong indentation. 2014-07-13 17:07:55 +02:00
worktycho
0fb236bfe4 typo 2014-06-30 22:21:22 +01:00
worktycho
84272fb155 Added dependecy of tolualib on lua 2014-06-30 22:21:07 +01:00
Mattes D
6b8529544e Fixed tolua linking order.
Ref.: #1044.
2014-06-30 21:00:52 +02:00
worktycho
70c20d7772 Fixed constness 2014-06-11 17:17:19 +01:00
madmaxoft
9b5e852f75 Fixed debugging code in tolua++ driver script. 2014-06-09 20:00:17 +02:00
madmaxoft
02b509b81d ToLua can now be run in pure-lua mode.
See the src/Bindings/AllToLua_lua.bat for usage example.
2014-06-09 17:05:22 +02:00
Tycho
c89f7902df Added forgoten lua file 2014-04-06 05:56:43 -07:00
Tycho
23395a5ce1 Merge branch 'master' into override
Conflicts:
	lib/tolua++/CMakeLists.txt
2014-04-05 14:12:17 -07:00
Tycho
298c0b409a Fixed tolua++ override support 2014-04-02 06:04:17 -07:00
Tiger Wang
83d0c6d6a7 Fixed bad cmake document interpretation
Docs say:

"If nothing is found, the result will be <VAR>-NOTFOUND"
2014-03-23 20:37:23 +00:00
Mattes D
b3a22acb2c Merge pull request #826 from worktycho/xxd_check
Added better check for xxd existance
2014-03-23 20:21:12 +01:00
Tycho
0cfb12f0d1 Added Additonal check for xxd existance 2014-03-22 08:30:49 -07:00
Tycho
830a9c3bb4 FIrst attempt at adding override support to tolua 2014-03-22 08:16:07 -07:00
Tycho
2266c2150d Merge branch 'master' into size_t_lua
Conflicts:
	lib/tolua++/src/bin/basic_lua.h
2014-03-22 07:48:16 -07:00
Tycho
a69a1ef032 Fixed enum checking functions not being called in generated code 2014-03-20 13:23:15 -07:00
Tycho
6a3fe7adcc Fixed bugs in patched tolua output 2014-03-19 12:38:00 -07:00
Tycho
04adca3410 Fixed tolua emitting isnumber insteand of is<Enum> 2014-03-19 12:02:26 -07:00
Tycho
e8f7c18ba7 Fixed type error in lua bindings 2014-03-19 11:34:33 -07:00
Tycho
0a505576e5 Fixed =~ bug 2014-03-17 10:28:04 -07:00
Tycho
3e0dfbc7a1 Made buffers static const 2014-03-16 07:59:58 -07:00
Tycho
7f84c8d60b Patched tolua to understand size_t 2014-03-15 10:42:35 -07:00
Tycho
a427f004b8 Fix indentation 2014-03-15 07:15:02 -07:00
Tycho
2e9fe777e4 Patched tolua to emit range checks for enums 2014-03-15 06:45:26 -07:00
Tycho
faa6456344 Added a seperate module for Setting flags 2014-02-15 15:17:58 -08:00
Tycho
83c7ba2bae removed tolua++ makefile which is overwritten by cmake 2014-01-03 08:10:57 -08:00
Tycho Bickerstaff
fda983fcb4 possable fix of typo 2013-12-20 14:03:40 +00:00
Tycho Bickerstaff
bc2d23550c Revert "fixed bad reference to math library"
This reverts commit 0836e5e660.
2013-12-20 13:51:33 +00:00
Tycho Bickerstaff
efaabb16df Revert "fixed bad reference to math library"
This reverts commit c2167d7ed7.
2013-12-20 13:50:41 +00:00
Tycho Bickerstaff
c2167d7ed7 fixed bad reference to math library 2013-12-20 13:27:38 +00:00
Tycho Bickerstaff
0836e5e660 fixed bad reference to math library 2013-12-20 13:21:58 +00:00
tycho
c7d766bbcc fixed compile errors with headers and math library 2013-12-20 00:22:06 +00:00
Tycho Bickerstaff
e2549dfcb2 added expat as lua bindings dependincy 2013-12-19 00:52:52 +00:00
Tycho Bickerstaff
7dd1561a88 fixed bindings generation 2013-12-18 23:59:07 +00:00
Tycho Bickerstaff
1149ab216c Revert "Removed unused ToLua files." to allow the new cmake system to build on tolua++ on linux
This reverts commit 906fd50343.
2013-12-18 23:14:31 +00:00
Tycho Bickerstaff
0dbd55614b bindings regenration logic 2013-12-18 23:14:11 +00:00
madmaxoft
4608beb3c6 Fixed tolua++ compilation.
Duplicate files, wrong includes, const-incorrect code...
2013-12-08 18:24:56 +01:00
madmaxoft
906fd50343 Removed unused ToLua files.
Those were used to compile the tolua executable and were getting in the way - Unix makefile tried to compile them into MCS.
2013-12-08 18:05:49 +01:00
Tiger Wang
3466d2cad9 Fixed all outstanding VS compilation issues
Also updated VS2008 files.
2013-11-25 21:32:09 +00:00
Tiger Wang
32449f1fca Further attempts to fix compile 2013-11-25 18:29:36 +00:00
Tiger Wang
e3db69c4ae Attempt to fix compilation 2013-11-24 18:44:22 +00:00
Alexander Harkness
998fb17fdc Moved tolua++ 2013-11-24 14:29:35 +00:00