Commit Graph

31 Commits

Author SHA1 Message Date
Tin 4936c7492c
Provide a notice when build options get disabled
Reformat files and hope it invalidates CI cache :)

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Brenden Matthews 6730dafb03
feat: Move docs to website, rearrange bits (#1475) 2023-03-28 08:21:17 -04:00
Brenden Matthews 98b70966eb
Update minimum cmake version. 2023-01-01 14:35:41 -05:00
Brenden Matthews e6643508f0
Put the code coverage stuff behind a build flag. 2022-12-26 11:46:29 -05:00
Brenden Matthews 97687633a7 Separate docs & extras (syntax files) build.
Rather than piggybacking on the BUILD_DOCS flag, use BUILD_EXTRAS to
enable building the nano & vim syntax files. This is so that people can
generate the extras without having to install pandoc.
2022-10-14 09:44:54 -04:00
Brenden Matthews 670973a678 Update extras (syntax files) w/ new docs.
Generate the list of symbols for vim & nano syntax files using
docs data + jinja2.

Also refactored the doc handling a bit.
2022-10-04 18:18:08 -04:00
Brenden Matthews 47ad3f9982 Refactor docs, make a new website.
* Docs have been migrated from docbook to yaml + jinja2 + pandoc
* Created a new (basic) website for docs based on React + Tailwinds
2022-09-30 18:21:24 -04:00
Chaitanya Kukde 01d4c8ca84 Fixes #1068 : Add cmake uninstall target 2021-05-17 10:08:37 -05:00
Brenden Matthews 4d107fca34
Fix clang var. 2021-02-28 14:53:59 -06:00
Brenden Matthews 308f2cb8ea
Update copyright, authors. 2021-02-27 09:14:19 -06:00
Daniel Pielmeier 1fa674252d Add a separate option for building html documentation. 2019-03-27 16:37:14 -04:00
Brenden Matthews 90673cf161 Make GitLab build work with clang checks. 2019-02-23 17:13:19 -05:00
Brenden Matthews ed1d6eb8fd
Add gitlab CI. 2019-02-22 21:57:10 -05:00
Brenden Matthews 14af88ddbd Add AppImage integration. 2019-01-08 19:44:24 -05:00
lasers 7eec746b82 update copyright year to 2019 2019-01-05 11:15:36 -06:00
Brenden Matthews 6c09affaf7 Add some basic unit tests.
Introduced the Catch2 unit testing framework.
2018-12-24 02:02:01 -05:00
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
Brenden Matthews 4b92556fca
Build improvements: clang-tidy, sonar, Dockerfile. (#488) 2018-05-12 19:26:31 -04:00
Brenden Matthews eebc8c653b
Add formatting/static analysis (#486)
* Reform source with clang-format.

Rules applied with:
    $ find . -iname *.h -o -iname *.cc | xargs clang-format \
        -style=file -i -fallback-style=google

* Add clang-format and analyze to build.

Based on the excellent work at: https://github.com/ttroy50/cmake-examples

* Clean up CMake stuff on macOS.

* Remove vim/emacs modelines.

* Update copyright dates.

* Build fixes.

* Build fixes.

* Build fixes.

* Build fixes.

* Build fixes.

* Build fixes.
2018-05-12 12:03:00 -04:00
Brenden Matthews 8a4eb2655d Prep for 1.10.0 release. 2015-06-21 17:49:06 -07:00
Pavel Labath 67b11f84ec install conky documentation with a configurable path (-DDOC_PATH) (sf.net #3117859)
patch contributed by Daniel Pielmeier (billie)
2010-12-11 13:50:59 +01:00
Pavel Labath acbd44856f install the conversion script with make install 2010-11-23 19:17:42 +01:00
Brenden Matthews b8a678728c Remove automake build system, fix defconfig.h. 2010-01-04 18:07:49 -08:00
Brenden Matthews 2951f5571c Add missing copyright notices. 2010-01-01 15:49:41 -08:00
Brenden Matthews fb33419cd4 Add CMake build support for Lua bindings. 2009-12-17 19:46:26 -08:00
Brenden Matthews 6944cba54e Move cmake files around, add -D_GNU_SOURCE. 2009-12-09 15:56:07 -08:00
Brenden Matthews 8c9ed7b109 Minor build fixes. 2009-12-07 21:16:11 -08:00
Brenden Matthews 11c76e4c0d More CMake work. 2009-12-07 20:46:49 -08:00
Brenden Matthews d80cacd4b7 Handle build.h, too. 2009-12-07 11:51:00 -08:00
Brenden Matthews 07cb6efdaf More work on CMake build system (see README.cmake for instructions). 2009-12-05 12:00:10 -08:00
Brenden Matthews f36f747aca Add (broken) cmake build stuff. 2009-11-26 11:25:32 -08:00