#
# This file is part of the Simutrans project under the Artistic License.
# (see LICENSE.txt)
#

#
# Doxygen file to generate documentation for Squirrel API
# Assumes Doxygen is started in src/simutrans/script/api/
#

PROJECT_NAME           = Simutrans-Squirrel-API
PROJECT_ICON           = @CMAKE_CURRENT_SOURCE_DIR@/src/simutrans/simutrans.svg
OUTPUT_DIRECTORY       = @CMAKE_CURRENT_BINARY_DIR@/documentation/sqapi/

EXTRACT_PRIVATE        = YES

INPUT                  = api_factory.cc \
			 api_base.h \
			 api_doc.h \
			 changelog.h \
			 api_skeleton.h \
			 api_skeleton.cc \
			 api_city.cc \
			 api_command.cc \
			 api_const.cc \
			 api_control.cc \
			 api_convoy.cc \
			 api_gui.cc \
			 api_halt.cc \
			 api_include.cc \
			 api_line.cc \
			 api_map_objects.cc \
			 api_obj_desc.cc \
			 api_pathfinding.cc \
			 api_player.cc \
			 api_schedule.cc \
			 api_settings.cc \
			 api_scenario.cc \
			 api_simple.cc \
			 api_world.cc \
			 api_tiles.cc

INPUT_FILTER           = ./filter_cpp.sh
FILTER_PATTERNS        = *.cc
 
#FILTER_SOURCE_FILES    = YES
#FILTER_SOURCE_PATTERNS = ./filter_sq.sh

SOURCE_BROWSER         = YES

ENABLE_PREPROCESSING   = YES
PREDEFINED             = SQAPI_DOC

EXAMPLE_PATH           = @CMAKE_CURRENT_SOURCE_DIR@/simutrans/pak/scenario/
EXAMPLE_PATTERNS       = *.nut =
