diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-16 15:59:58 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-16 15:59:58 +0100 |
commit | 3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538 (patch) | |
tree | 8fe269a21defbafebba6df3b3e935507e587cba9 /lib/tolua++/CMakeLists.txt | |
parent | Fix indentation (diff) | |
download | cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.tar cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.tar.gz cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.tar.bz2 cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.tar.lz cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.tar.xz cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.tar.zst cuberite-3e0dfbc7a14f2d9784225e39a5dcf2ecdd5c6538.zip |
Diffstat (limited to 'lib/tolua++/CMakeLists.txt')
-rw-r--r-- | lib/tolua++/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tolua++/CMakeLists.txt b/lib/tolua++/CMakeLists.txt index 5e04cbe1f..095fc152e 100644 --- a/lib/tolua++/CMakeLists.txt +++ b/lib/tolua++/CMakeLists.txt @@ -9,15 +9,15 @@ include_directories ("${PROJECT_SOURCE_DIR}") if(UNIX) add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/src/bin/basic_lua.h - COMMAND xxd -i lua/basic.lua >basic_lua.h + COMMAND xxd -i lua/basic.lua | sed 's/unsigned char/static const unsigned char/g' >basic_lua.h WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/bin/ DEPENDS ${PROJECT_SOURCE_DIR}/src/bin/lua/basic.lua) add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/src/bin/enumerate_lua.h - COMMAND xxd -i lua/enumerate.lua >enumerate_lua.h + COMMAND xxd -i lua/enumerate.lua | sed 's/unsigned char/static const unsigned char/g' >enumerate_lua.h WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/bin/ DEPENDS ${PROJECT_SOURCE_DIR}/src/bin/lua/enumerate.lua) add_custom_command(OUTPUT ${PROJECT_SOURCE_DIR}/src/bin/function_lua.h - COMMAND xxd -i lua/function.lua >function_lua.h + COMMAND xxd -i lua/function.lua | sed 's/unsigned char/static const unsigned char/g' >function_lua.h WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/bin/ DEPENDS ${PROJECT_SOURCE_DIR}/src/bin/lua/function.lua) set_property(SOURCE src/bin/toluabind.c APPEND PROPERTY OBJECT_DEPENDS ${PROJECT_SOURCE_DIR}/src/bin/enumerate_lua.h ${PROJECT_SOURCE_DIR}/src/bin/basic_lua.h ${PROJECT_SOURCE_DIR}/src/bin/function_lua.h) |