1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00
conky/3rdparty/toluapp
Brenden Matthews bb8723dd36
Add toluapp subtree (#712)
* First commit!

* Import to git

* Droping down CMake requirement

* Corrected installation of libraries

* Adding travis build

* Updated cmake macros

* Fixed find package

* Updated travis hook

* Updated travis hook

* Patch to support Lua 5.3.

* Fix Lua header include directives in tolua++.h

Use angle bracket rather than double quotes when including Lua headers in the tolua++ header. This fixes a problem on systems that default to a Lua version newer than 5.1 and install the tolua++ header to the same directory as newer Lua headers.

As there are (usually) no Lua headers in the same directory when building tolua++ itself, the preprocessor will look to the include directories passed to the compiler, one of which would be the Lua 5.1 include directory, and tolua++ will build with those (correct) headers. Then the tolua++ header is usually installed in the default include directory, alongside the newer Lua headers, which you wouldn't expect to cause any trouble.

But it does cause trouble when trying to build other programs that include the tolua++ header, because now the preprocessor does find Lua headers in the same directory as the tolua++ header, which are the newer (incorrect) headers. Now the program will either fail to compile, because it doesn't support the newer headers, or fail to link with the tolua++ shared object because they were compiled against different Lua headers.

Using angle brackets instead of double quotes in the include directives will fix the problem, because then the preprocessor will look to the include directories passed to the compiler first.

See http://www.cegui.org.uk/forum/viewtopic.php?f=10&t=7195

* Remove email notifications.

* Update travis build.

* Build shared and static libs.

* Patch toluapp to support Lua 5.3.

With this change, support for Lua 5.1 is dropped.

This resolve #116.

* Add some comments to clarify the toluapp handling.

* Add minor sonar fix.
2018-12-20 15:18:51 -05:00
..
cmake Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
debian Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
doc Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
include Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
src Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
win32/vc7 Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
.travis.yml Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
CMakeLists.txt Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
config_linux.py Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
config_msvc.py Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
config_posix.py Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
COPYRIGHT Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
custom-5.1.py Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
dist.info Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
INSTALL Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
libtoluapp.def Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
Makefile Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
README Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
README-5.1 Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
SConstruct Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00

This is tolua++-1.0

* What is tolua++?
  tolua++ is an extension of toLua, a tool to integrate C/C++ code with
  Lua. tolua++ includes new features oriented to c++, such as class
  templates.

  tolua is a tool that greatly simplifies the integration of C/C++ code 
  with Lua. Based on a "cleaned" header file, tolua automatically generates 
  the binding code to access C/C++ features from Lua. Using Lua-5.0 API and
  metamethod facilities, the current version automatically maps C/C++ 
  constants, external variables, functions, namespace, classes, and methods 
  to Lua. It also provides facilities to create Lua modules.

* Availability

  tolua++ is freely available for both academic and commercial purposes.
  See COPYRIGHT for details.

  tolua++ can be downloaded from the sites below:
            http://www.codenix.com/~tolua/

* Installation
  See INSTALL.

* Contacting the author
  tolua has been designed and implemented by Waldemar Celes.
  tolua++ is maintained by Ariel Manzur.
  Send your comments, bug reports and anything else to 
  tolua@codenix.com