aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature: Lua 5.3 + 5.4 integer support, with CI and conflicts fixed.Hisham Muhammad2024-06-111-0/+7
| | | | | | | | | | Co-Authored-By: Hisham Muhammad <hisham@gobolinux.org> Co-authored-by: Mark Pulford <mark@kyne.com.au> Co-authored-by: ichenq <ichenq@gmail.com> Co-authored-by: Cloud Wu <cloudwu@gmail.com> Co-authored-by: caijietao <t0350.prog@gmail.com> Co-authored-by: actboy168 <actboy168@gmail.com> Co-authored-by: wudeng <wudeng256@gmail.com> Co-authored-by: caiyiheng <rangercyh@qq.com>
* Add updated netlib dtoa.c from https://netlib.sandia.gov/fp/dtoa.c lijunlong2023-02-221-1/+1
| | | Co-authored-by: Jesper Lundgren <jesperlundgren@exosite.com>
* attempting to fix luajit cmake buildleaf corcoran2020-04-251-1/+1
|
* Remove ENABLE_CJSON_GLOBAL optionMark Pulford2012-03-041-5/+0
| | | | | Remove ENABLE_CJSON_GLOBAL option since it is not recommended or necessary and doesn't need to be discussed in the manual.
* Reduce length of CMake option descriptionsMark Pulford2012-03-041-3/+2
|
* Rename USE_INTERNAL_DTOA to USE_INTERNAL_FPCONVMark Pulford2012-03-041-3/+3
|
* Disable registration of cjson global variableMark Pulford2012-03-041-3/+3
| | | | | | | Disable registration of cjson module table global variable in the default build. Automatically creating a variable in the global namespace can cause issues for other software and is no longer recommended with Lua.
* Add CMake option to toggle DISABLE_CJSON_GLOBALMark Pulford2012-03-041-0/+5
|
* Use DISABLE_INVALID_NUMBERS on WIN32 CMake buildsMark Pulford2012-03-041-7/+7
|
* Add support to USE_INTERNAL_DTOA to CMake buildMark Pulford2012-03-041-7/+41
| | | | | - Provide build options for USE_INTERNAL_DTOA and MULTIPLE_THREADS - Link module with Lua library under Windows
* Use internal dtoa/strtod for double conversionMark Pulford2012-03-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | The internal Lua CJSON dtoa/strtod routines have locale support disabled. This avoids problems under locales with comma decimal separators. Build changes: - CMake: Check for big endian architectures - Makefile: Provide option to build with dtoa.c Modifications to dtoa.c: - Include locale dtoa_config.h configuration - Rename Infinity/NaN to inf/nan to match common C libraries - Rename strtod() -> internal_strtod() to prevent conflict with libc function Modifications to g_fmt.c: - Return output string length (instead of original buffer pointer) - Provide precision as an argument to g_fmt() - Silence compilations warnings from vendor source - while(a = b) - Unused label "done:" - Only swap to scientific notation when once the number of decimal digits required exceeds the precision available. This matches standard printf format %g. - Display a "0" in front of numbers < 1.
* Add fpconv to work around comma decimal pointsMark Pulford2011-12-301-1/+1
| | | | | | | | Create a separate buffer and translate comma <> dot before calling strtod(), and after calling sprintf() as required. - Add "update_locale" Lua API call and init locale on module load. - Move sprintf format string to fpconv
* Remove POSIX locale workaroundMark Pulford2011-12-291-10/+0
|
* Add support for building via CMakeMark Pulford2011-12-131-0/+47