From f6d5a788aa0498da70eb9693043625b35a54c387 Mon Sep 17 00:00:00 2001 From: tycho Date: Fri, 20 Dec 2013 15:37:35 +0000 Subject: fixed include of math on windows --- src/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a557b7dac..9b461ff94 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -43,6 +43,15 @@ file(GLOB_RECURSE SOURCE include_directories("${PROJECT_SOURCE_DIR}") +ADD_CUSTOM_COMMAND( +#add any new generated bindings here + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Bindings/Bindings.cpp ${CMAKE_CURRENT_BINARY_DIR}/Bindings/Bindings.h +#command execuded to regerate bindings + COMMAND tolua -L virtual_method_hooks.lua -o Bindings/Bindings.cpp -H Bindings/Bindings.h AllToLua.pkg +#add any new generation dependencies here + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/virtual_method_hooks.lua ${CMAKE_CURRENT_SOURCE_DIR}/Bindings/AllToLua.pkg tolua + ) + source_group("" FILES ${SOURCE}) endif() -- cgit v1.2.3