diff options
| author | 2015-05-17 23:11:40 +0200 | |
|---|---|---|
| committer | 2015-05-17 23:13:35 +0200 | |
| commit | 916d03981c4a6de800c337b8b092b2573845c622 (patch) | |
| tree | 26e67ec7247fc964699ded07a6b2bd5e696c43b1 /scripts/src/3rdparty.lua | |
| parent | b60ae13d770b71e701607441ab8b332b6f77dc1a (diff) | |
Document the changes necessary to compile lua using c++.
This may be necessary to completely avoid the usage
of setjmp in MAME. (nw)
Diffstat (limited to 'scripts/src/3rdparty.lua')
| -rw-r--r-- | scripts/src/3rdparty.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 70076410b5e..aac32bfad74 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -272,6 +272,15 @@ project "lua" uuid "d9e2eed1-f1ab-4737-a6ac-863700b1a5a9" kind "StaticLib" + -- uncomment the options below to + -- compile using c++. Do the same + -- in lsqlite3. + -- In addition comment out the "extern "C"" + -- in lua.hpp and do the same in luaengine.c line 47 + --options { + -- "ForceCPP", + --} + configuration { } defines { "LUA_COMPAT_ALL", @@ -342,6 +351,10 @@ project "lsqlite3" uuid "1d84edab-94cf-48fb-83ee-b75bc697660e" kind "StaticLib" + -- options { + -- "ForceCPP", + -- } + configuration { } defines { "LUA_COMPAT_ALL", |
