aboutsummaryrefslogtreecommitdiff
path: root/ports/lua
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-03-02 07:16:46 -0800
committerRobert Schumacher <roschuma@microsoft.com>2017-03-02 07:16:46 -0800
commit3e0dc1e81e0fa0960abca18bba6c560df4317adb (patch)
tree17e6674281c9887a5b6c089e1caf0f86ccfca261 /ports/lua
parentb9b27e72d31106ec6b159590a77014d02a655f93 (diff)
downloadvcpkg-3e0dc1e81e0fa0960abca18bba6c560df4317adb.tar.gz
vcpkg-3e0dc1e81e0fa0960abca18bba6c560df4317adb.zip
[lua] Expanded comment on COMPILE_AS_CPP
Diffstat (limited to 'ports/lua')
-rw-r--r--ports/lua/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/ports/lua/CMakeLists.txt b/ports/lua/CMakeLists.txt
index b82c63e42..faef8018b 100644
--- a/ports/lua/CMakeLists.txt
+++ b/ports/lua/CMakeLists.txt
@@ -1,6 +1,11 @@
# Lua can be compiled as either C or C++.
# Default configuration is C, set COMPILE_AS_CPP to ON to use C++.
# See http://stackoverflow.com/questions/13560945/c-and-c-library-using-longjmp for why would you want to do that.
+# Primary differences:
+# - Exceptions will be used instead of setjmp/longjmp
+# - The name mangling for functions will be C++ instead of C.
+# - This is a source-incompatible change because extern "C" is chosen by the including application.
+# - The lua.hpp header will not be available.
PROJECT ( lua )