/apps/twnlua: mark with CODEGEN
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| cmake_minimum_required(VERSION 3.21) | ||||
|  | ||||
| cmake_policy(SET CMP0171 NEW) | ||||
| project(twnlua LANGUAGES C) | ||||
|  | ||||
| if(NOT CMAKE_BUILD_TYPE) | ||||
| @@ -16,6 +16,7 @@ add_custom_command( | ||||
|    OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/luabind.c | ||||
|    COMMAND ${PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/bindgen.py $ENV{TWNROOT}/share/twn_api.json ${FLAGS} > ${CMAKE_CURRENT_SOURCE_DIR}/luabind.c | ||||
|    DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/bindgen.py $ENV{TWNROOT}/share/twn_api.json | ||||
|    CODEGEN | ||||
| ) | ||||
|  | ||||
| add_compile_definitions(LUA_32BITS) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user