1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +00:00
conky/cmake
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
..
scripts Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
build.h.in Move cmake files around, add -D_GNU_SOURCE. 2009-12-09 15:56:07 -08:00
clang-tidy.cmake Only run tidy on modified code, relocate scripts. (#490) 2018-05-12 22:46:47 -04:00
config.h.in Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
Conky.cmake Bump version for next release. 2018-12-16 15:26:24 -05:00
ConkyBuildOptions.cmake Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
ConkyCPackSetup.cmake Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
ConkyPlatformChecks.cmake Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00
Docbook.cmake Add formatting/static analysis (#486) 2018-05-12 12:03:00 -04:00
FindClangTidy.cmake Build improvements: clang-tidy, sonar, Dockerfile. (#488) 2018-05-12 19:26:31 -04:00
FindXinerama.cmake added support for multiple xinerama heads (fixes issue #172) 2015-12-01 13:53:43 +01:00
ToLua.cmake Add toluapp subtree (#712) 2018-12-20 15:18:51 -05:00