do not run tolua inside MSVC

The cmake rules for this do not work.
This commit is contained in:
Enno Rehling 2014-03-08 04:28:04 -08:00
parent e9bc92608c
commit e8b28725e1
3 changed files with 73 additions and 73 deletions

View File

@ -43,7 +43,6 @@ MACRO(ADD_LUA_MODULE MODULE_NAME FILES)
)
ENDMACRO(ADD_LUA_MODULE)
IF(TOLUA_FOUND)
MACRO(TOLUA_BINDING PKGFILE FILES)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${PKGFILE}.c
@ -54,10 +53,11 @@ MACRO(TOLUA_BINDING PKGFILE FILES)
)
ENDMACRO(TOLUA_BINDING)
IF(NOT MSVC)
TOLUA_BINDING(process.pkg bind_process.h)
TOLUA_BINDING(eressea.pkg bind_eressea.h)
TOLUA_BINDING(settings.pkg bind_settings.h)
ENDIF(TOLUA_FOUND)
ENDIF()
set(TESTS
laws_test.c