share/hedgewars/Data/CMakeLists.txt
author unC0Rr
Wed, 20 Nov 2024 21:37:47 +0100
branchtransitional_engine
changeset 16067 d903f8d2395a
parent 16064 0caa3dfb3ba2
permissions -rw-r--r--
- Update corrosion - Implement installation of targets imported with corrosion
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11344
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     1
foreach(dir
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     2
    Fonts
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     3
    Forts
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     4
    Graphics
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     5
    Locale
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     6
    Maps
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     7
    Missions
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     8
    Music
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
     9
    Names
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
    10
    Scripts
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
    11
    Sounds
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
    12
    Themes
16059
842df792d6d6 Add install script for tiles
unC0Rr
parents: 11344
diff changeset
    13
    Tiles
11344
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
    14
    misc
852bf1e052f4 multiline cmake directories
Vittorio Giovara <vittorio.giovara@gmail.com>
parents: 11317
diff changeset
    15
    )
8340
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
    16
    add_subdirectory(${dir})
1945
b997bcf86c39 patch by TheXception:
unc0rr
parents: 596
diff changeset
    17
endforeach(dir)
8340
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
    18
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
    19
if(${GL2})
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
    20
    add_subdirectory(Shaders)
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
    21
endif(${GL2})
16059
842df792d6d6 Add install script for tiles
unC0Rr
parents: 11344
diff changeset
    22
842df792d6d6 Add install script for tiles
unC0Rr
parents: 11344
diff changeset
    23
install(FILES
842df792d6d6 Add install script for tiles
unC0Rr
parents: 11344
diff changeset
    24
    map_templates.yaml
16064
0caa3dfb3ba2 Add templates for different maze styles
unC0Rr
parents: 16059
diff changeset
    25
    maze_templates.yaml
16059
842df792d6d6 Add install script for tiles
unC0Rr
parents: 11344
diff changeset
    26
    wfc_templates.yaml
842df792d6d6 Add install script for tiles
unC0Rr
parents: 11344
diff changeset
    27
    DESTINATION ${SHAREPATH}Data)