# # ORXONOX - the hottest 3D action shooter ever to exist # > www.orxonox.net < # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # SET(CPPTCL_FILES cpptcl.h cpptcl.cc details/callbacks.h details/callbacks_v.h details/constructors.h details/conversions.h details/dispatchers.h details/metahelpers.h details/methods.h details/methods_v.h ) GENERATE_SOURCE_GROUPS(${CPPTCL_FILES}) IF(MSVC) ADD_LIBRARY(cpptcl_orxonox STATIC ${CPPTCL_FILES}) ELSE() ADD_LIBRARY(cpptcl_orxonox SHARED ${CPPTCL_FILES}) ENDIF() TARGET_LINK_LIBRARIES(cpptcl_orxonox ${TCL_LIBRARY} ) ORXONOX_INSTALL(cpptcl_orxonox)