Update: Translations from eints
[openttd-github.git] / cmake / MSVCFilters.cmake
blobb334f6a91a1c2715be2de0ef9654b34d5fb003bb
1 # Add source group filters for use in generated projects.
3 source_group("AI Core" REGULAR_EXPRESSION "src/ai/")
4 source_group("Blitters" REGULAR_EXPRESSION "src/blitter/")
5 source_group("Core Source Code" REGULAR_EXPRESSION "src/core/")
6 source_group("Font Cache" REGULAR_EXPRESSION "src/fontcache/")
7 source_group("Game Core" REGULAR_EXPRESSION "src/game/")
8 source_group("MD5" REGULAR_EXPRESSION "src/3rdparty/md5/")
9 source_group("Misc" REGULAR_EXPRESSION "src/misc/")
10 source_group("Music" REGULAR_EXPRESSION "src/music/")
11 source_group("Network Core" REGULAR_EXPRESSION "src/network/core/")
12 source_group("OSX" REGULAR_EXPRESSION "src/os/macosx/")
13 source_group("Pathfinder" REGULAR_EXPRESSION "src/pathfinder/")
14 source_group("Save/Load handlers" REGULAR_EXPRESSION "src/saveload/")
15 source_group("Save/Load handlers\\Compat" REGULAR_EXPRESSION "src/saveload/compat/")
16 source_group("Sound" REGULAR_EXPRESSION "src/sound/")
17 source_group("Sprite loaders" REGULAR_EXPRESSION "src/spriteloader/")
18 source_group("Squirrel" REGULAR_EXPRESSION "src/3rdparty/squirrel/squirrel/")
19 source_group("Tables" REGULAR_EXPRESSION "src/table/")
20 source_group("Video" REGULAR_EXPRESSION "src/video/")
21 source_group("Video\\GL" REGULAR_EXPRESSION "src/3rdparty/opengl/")
22 source_group("Widgets" REGULAR_EXPRESSION "src/widgets/")
23 source_group("Windows files" REGULAR_EXPRESSION "src/os/windows/|\.rc$")
25 # Last directive for each file wins, so make sure NPF/YAPF are after the generic pathfinder filter.
26 source_group("NPF" REGULAR_EXPRESSION "src/pathfinder/npf/")
27 source_group("YAPF" REGULAR_EXPRESSION "src/pathfinder/yapf/")
29 source_group("Script" REGULAR_EXPRESSION "src/script/")
30 source_group("Script API Implementation" REGULAR_EXPRESSION "src/script/api/")
31 source_group("Script API" REGULAR_EXPRESSION "src/script/api/.*\.hpp$")
32 source_group("AI API" REGULAR_EXPRESSION "src/script/api/ai_")
33 source_group("Game API" REGULAR_EXPRESSION "src/script/api/game_")
35 # Placed last to ensure any of the previous directory filters are overridden.
36 source_group("Command handlers" REGULAR_EXPRESSION "_cmd\.cpp$")
37 source_group("Drivers" REGULAR_EXPRESSION "_driver\.hpp$")
38 source_group("GUI Source Code" REGULAR_EXPRESSION "_gui\.cpp$")
39 source_group("Map Accessors" REGULAR_EXPRESSION "_map\.(cpp|h)$")
40 source_group("NewGRF" REGULAR_EXPRESSION "newgrf.*cpp$")
41 source_group("Squirrel headers" REGULAR_EXPRESSION "src/3rdparty/squirrel/squirrel/.*\.h$")