1 # In case both NFORenum and GRFCodec are found, generate the GRF.
2 # Otherwise, just use them from the cache (read: git).
3 # This is mainly because not many people have both of these tools installed,
4 # so it is cheaper to cache them in git, and only regenerate when you are
5 # working on it / have the tools installed.
7 include(CreateGrfCommand)
9 NFO_SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/rivers/arctic.nfo
10 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/rapids.nfo
11 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/temperate.nfo
12 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/toyland.nfo
13 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/toyland_rapids.nfo
14 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/tropic.nfo
15 ${CMAKE_CURRENT_SOURCE_DIR}/airports_orig_extra.nfo
16 ${CMAKE_CURRENT_SOURCE_DIR}/canals_extra.nfo
17 ${CMAKE_CURRENT_SOURCE_DIR}/chars_orig_extra.nfo
18 ${CMAKE_CURRENT_SOURCE_DIR}/fix_graphics.nfo
19 ${CMAKE_CURRENT_SOURCE_DIR}/fix_gui_icons.nfo
20 ${CMAKE_CURRENT_SOURCE_DIR}/orig_extra.nfo
21 ${CMAKE_CURRENT_SOURCE_DIR}/shore.nfo
22 PNG_SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/rivers/arctic_brown.png
23 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/arctic_snowy.png
24 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/rapids.png
25 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/rapids_shading.png
26 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/temperate.png
27 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/toyland.png
28 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/toyland_rapids.png
29 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/toyland_rapids_shading.png
30 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/tropic_desert.png
31 ${CMAKE_CURRENT_SOURCE_DIR}/rivers/tropic_forest.png
32 ${CMAKE_CURRENT_SOURCE_DIR}/fix_graphics.png
33 ${CMAKE_CURRENT_SOURCE_DIR}/fix_gui_icons.png
34 ${CMAKE_CURRENT_SOURCE_DIR}/shore.png
35 # We share some files with 'openttd' grf
36 ${CMAKE_CURRENT_SOURCE_DIR}/../openttd/airports.png
37 ${CMAKE_CURRENT_SOURCE_DIR}/../openttd/canals.png
38 ${CMAKE_CURRENT_SOURCE_DIR}/../openttd/chars.png