Codechange: Un-bitstuff commands taking a ClientID (i.e. CMD_CLIENT_ID).
[openttd-github.git] / cmake / MSVCFilters.cmake
blobdb53fc2258146079a4c6c9249aafea04e4478939
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("Game Core" REGULAR_EXPRESSION "src/game/")
7 source_group("MD5" REGULAR_EXPRESSION "src/3rdparty/md5/")
8 source_group("Misc" REGULAR_EXPRESSION "src/misc/")
9 source_group("Music" REGULAR_EXPRESSION "src/music/")
10 source_group("Network Core" REGULAR_EXPRESSION "src/network/core/")
11 source_group("OSX" REGULAR_EXPRESSION "src/os/macosx/")
12 source_group("Pathfinder" REGULAR_EXPRESSION "src/pathfinder/")
13 source_group("Save/Load handlers" REGULAR_EXPRESSION "src/saveload/")
14 source_group("Save/Load handlers\\Compat" REGULAR_EXPRESSION "src/saveload/compat/")
15 source_group("Sound" REGULAR_EXPRESSION "src/sound/")
16 source_group("Sprite loaders" REGULAR_EXPRESSION "src/spriteloader/")
17 source_group("Squirrel" REGULAR_EXPRESSION "src/3rdparty/squirrel/squirrel/")
18 source_group("Tables" REGULAR_EXPRESSION "src/table/")
19 source_group("Video" REGULAR_EXPRESSION "src/video/")
20 source_group("Video\\GL" REGULAR_EXPRESSION "src/3rdparty/opengl/")
21 source_group("Widgets" REGULAR_EXPRESSION "src/widgets/")
22 source_group("Windows files" REGULAR_EXPRESSION "src/os/windows/|\.rc$")
24 # Last directive for each file wins, so make sure NPF/YAPF are after the generic pathfinder filter.
25 source_group("NPF" REGULAR_EXPRESSION "src/pathfinder/npf/")
26 source_group("YAPF" REGULAR_EXPRESSION "src/pathfinder/yapf/")
28 source_group("Script" REGULAR_EXPRESSION "src/script/")
29 source_group("Script API Implementation" REGULAR_EXPRESSION "src/script/api/")
30 source_group("Script API" REGULAR_EXPRESSION "src/script/api/.*\.hpp$")
31 source_group("AI API" REGULAR_EXPRESSION "src/script/api/ai_")
32 source_group("Game API" REGULAR_EXPRESSION "src/script/api/game_")
34 # Placed last to ensure any of the previous directory filters are overridden.
35 source_group("Command handlers" REGULAR_EXPRESSION "_cmd\.cpp$")
36 source_group("Drivers" REGULAR_EXPRESSION "_driver\.hpp$")
37 source_group("GUI Source Code" REGULAR_EXPRESSION "_gui\.cpp$")
38 source_group("Map Accessors" REGULAR_EXPRESSION "_map\.(cpp|h)$")
39 source_group("NewGRF" REGULAR_EXPRESSION "newgrf.*cpp$")
40 source_group("Squirrel headers" REGULAR_EXPRESSION "src/3rdparty/squirrel/squirrel/.*\.h$")