Skip to content

Commit

Permalink
[lua] Expanded comment on COMPILE_AS_CPP
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Mar 2, 2017
1 parent b9b27e7 commit 3e0dc1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ports/lua/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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 )

Expand Down

0 comments on commit 3e0dc1e

Please sign in to comment.