diff options
| author | Alexander Gavrilov | 2012-04-01 19:38:42 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-04-01 19:38:42 +0400 |
| commit | d109b6570bafb30740ce35449d8989f08ca79560 (patch) | |
| tree | 00f72f8dab42ee393bf41d18e6b09381706d6b24 /depends | |
| parent | e3d50b9b042165b352ffd041395844fd57d36db8 (diff) | |
| download | dfhack-d109b6570bafb30740ce35449d8989f08ca79560.tar.gz dfhack-d109b6570bafb30740ce35449d8989f08ca79560.tar.bz2 dfhack-d109b6570bafb30740ce35449d8989f08ca79560.tar.xz | |
Add dfhack.with_suspend(f[, args...]) that calls f with core suspended.
The lock is properly removed in case of error, which is then propagated.
Just for fun, it also can be yielded from within in a coroutine.
Diffstat (limited to 'depends')
| -rw-r--r-- | depends/lua/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/depends/lua/CMakeLists.txt b/depends/lua/CMakeLists.txt index 2e74ab0c..3a56aa63 100644 --- a/depends/lua/CMakeLists.txt +++ b/depends/lua/CMakeLists.txt @@ -1,8 +1,7 @@ PROJECT ( lua CXX ) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -# TODO: make this RelWithDebInfo only -ADD_DEFINITIONS(-DLUA_USE_APICHECK) +SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DLUA_USE_APICHECK") IF(WIN32) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE ) |
