share/hedgewars/Data/CMakeLists.txt
author koda
Wed, 02 Jan 2013 11:11:49 +0100
branchwebgl
changeset 8340 46a9fde631f4
parent 8334 abb48dd39e26
child 11317 62287d4044e7
permissions -rw-r--r--
install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
     1
foreach(dir "Fonts" "Forts" "Graphics" "Locale" "Maps" "Music" "Sounds" "Themes" "Missions" "Names" "misc" "Scripts")
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     2
    add_subdirectory(${dir})
1945
b997bcf86c39 patch by TheXception:
unc0rr
parents: 596
diff changeset
     3
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
     4
46a9fde631f4 install shaders only when needed, find clang only when needed, fix building on windows, better cmake boolean vars
koda
parents: 8334
diff changeset
     5
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
     6
    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
     7
endif(${GL2})