Skip to content

Commit

Permalink
Add configuration option LUABIND_NOT_THREADSAFE to the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik committed Aug 19, 2013
1 parent c782b0b commit e1fe8cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
option(LUABIND_NO_EXCEPTIONS "Disable all usage of try, catch, and throw?" OFF)
option(LUABIND_CPLUSPLUS_LUA "Was Lua built as C++?" OFF)
option(LUABIND_DYNAMIC_LINK "Build luabind as a shared library?" OFF)
option(LUABIND_NOT_THREADSAFE "Permit the use of static variables, thus making Luabind usable only from one of your system threads." OFF)
option(LUABIND_USE_CXX11 "Build Luabind using C++11 features?" ${LUABIND_CXX11_DEFAULT})

if(NOT Boost_VERSION VERSION_GREATER 1.46)
Expand Down
2 changes: 2 additions & 0 deletions build_information.hpp.cmake_in
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@

#cmakedefine LUABIND_USE_NOEXCEPT 1

#cmakedefine LUABIND_NOT_THREADSAFE 1

#cmakedefine LUABIND_DYNAMIC_LINK 1

/// TODO does this actually change the ABI?
Expand Down

0 comments on commit e1fe8cc

Please sign in to comment.