diff options
| author | Petr Mrázek | 2012-03-24 12:13:51 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-03-24 12:13:51 +0100 |
| commit | 8a847dbaba6f8b38a0fc170f72692470557f2e12 (patch) | |
| tree | 8443203a4d32eb90f1801e9dc86677b94d6d2e26 /depends | |
| parent | 7fe5fc9a906710bc603bf93b3e282872990a3361 (diff) | |
| download | dfhack-8a847dbaba6f8b38a0fc170f72692470557f2e12.tar.gz dfhack-8a847dbaba6f8b38a0fc170f72692470557f2e12.tar.bz2 dfhack-8a847dbaba6f8b38a0fc170f72692470557f2e12.tar.xz | |
Tweaks and cleanups
Removed t_virtual.
Made lua use C++ compiler
Removed many silly exception types from Error.h and renamed the rest.
Removed Brush classes from tiletypes plugin.
Diffstat (limited to 'depends')
| -rw-r--r-- | depends/lua/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/depends/lua/CMakeLists.txt b/depends/lua/CMakeLists.txt index 23ea6a48..aa0a1b91 100644 --- a/depends/lua/CMakeLists.txt +++ b/depends/lua/CMakeLists.txt @@ -1,4 +1,4 @@ -PROJECT ( lua C ) +PROJECT ( lua CXX ) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) # TODO: make this RelWithDebInfo only @@ -77,9 +77,12 @@ src/lundump.c src/lvm.c src/lzio.c ) +# compile with C++ compiler +set_source_files_properties(${SRC_LIBLUA} PROPERTIES LANGUAGE CXX) +# append headers to sources to make them show up in MSVC GUI LIST(APPEND SRC_LIBLUA ${HDR_LIBLUA}) -ADD_LIBRARY ( lua SHARED EXCLUDE_FROM_ALL ${SRC_LIBLUA} ) +ADD_LIBRARY ( lua SHARED ${SRC_LIBLUA} ) TARGET_LINK_LIBRARIES ( lua ${LIBS}) install(TARGETS lua |
