#!/usr/bin/python2.4 # # Copyright 2007 Google Inc. All Rights Reserved. """ VS Project template for use with Templatizer class. This file contains the templatized strings used for generating a VS project. It is meant to be loaded via a call to Python's execFile('filename.py', {}, dictToPlaceValuesFromThisFileIn) executed by the Templatizer class. As described in the documentation for the Templatizer class, each string uses Python style %(identifier)s tags to be used for template substitution. What follows is a definition of each template name defined in this file. For each template we specify all parameters that can be replaced: TARGET_SECTION: section defining a compilation target TARGET_NAME: human readable name for the target INCLUDE_DIRECTORIES: ; separated list of include directories PREPROCESSOR_DEFINES: ; separated list of preprocessor defines for that target MAIN_VS_PROJECT_SKELETON: main XML wrapper for project skeleton. TARGET_SECTIONS: place multiple target sections here. FILES_SECTION: place to put references to the actual files. FILE_GROUP: definition of file group FILE_GROUP_NAME: name of this file group FILE_LIST: place list of files or more file groups in here. FILE_DEFINITION: marker for an individual file REL_PATH_TO_FILE: path to file relative to the project. FILE_EXCLUSIONS: zero or more BUILD_EXCLUDE_GROUPs BUILD_EXCLUDE_GROUP: exclude current file from building in the specified environment. EXCLUDE_TARGET_NAME: target to exclude this file in.""" __author__ = 'playmobil@google.com (Jeremy Moskovich)' FILE_GROUP = r""" %(FILE_LIST)s """ # TODO(playmobil): this goes inside file tag to exclude files from a build # group. BUILD_EXCLUDE_GROUP = r""" """ FILE_DEFINITION = r""" %(FILE_EXCLUSIONS)s """ TARGET_SECTION = r""" """ MAIN_VS_PROJECT_SKELETON = r""" %(TARGET_SECTIONS)s %(FILES_SECTION)s """