- Timestamp:
- Jan 30, 2009, 4:40:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/GenerateToluaBindings.cmake
r2621 r2626 1 # UseTolua.cmake - CMake Module to generate LUA Bindings with tolua 2 # Copyright (C) 2008 Adrian Friedli 3 # 4 # This program is free software; you can redistribute it and/or modify 5 # it under the terms of the GNU General Public License as published by 6 # the Free Software Foundation; either version 2 of the License, or 7 # (at your option) any later version. 8 # 9 # This program is distributed in the hope that it will be useful, 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 # GNU General Public License for more details. 13 # 14 # You should have received a copy of the GNU General Public License 15 # along with this program; if not, write to the Free Software 16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 1 # 2 # ORXONOX - the hottest 3D action shooter ever to exist 3 # > www.orxonox.net < 4 # 5 # This program is free software; you can redistribute it and/or 6 # modify it under the terms of the GNU General Public License 7 # as published by the Free Software Foundation; either version 2 8 # of the License, or (at your option) any later version. 9 # 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License along 16 # with this program; if not, write to the Free Software Foundation, 17 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 # 19 # 20 # Author: 21 # Adrian Friedli 22 # Description: 23 # Sets the CMake options that will generate Tolua++ bindings. 24 # Parameters: 25 # _tolua_package - Name of the package, e.g. "Core" 26 # _target_source_files - Variable name of the target source files, the 27 # script will add the generated files to this list. 28 # ARGN - The header files in the style "INTPUTFILES Foo.h Bar.h" 29 # Global Variables: (need to be set before) 30 # TOLUA_PARSER_SOURCE - Lua file with the parser source code 31 # TOLUA_PARSER_DEPENDENCIES - All the dependent lua files 32 # ORXONOX_RUNTIME_LIBRARY_DIRECTORY - Working directory 33 # 17 34 18 35 FUNCTION(GENERATE_TOLUA_BINDINGS _tolua_package _target_source_files)
Note: See TracChangeset
for help on using the changeset viewer.