share/hedgewars/Data/CMakeLists.txt
author nemo
Sun, 04 Jan 2015 00:44:14 -0500
branch0.9.21
changeset 10743 1d16c5414fee
parent 8340 46a9fde631f4
child 11317 62287d4044e7
permissions -rw-r--r--
Intent is to allow filtering by arbitrary flag combinations. This isn't actually working yet. No idea why. It seems it should. Tired though, so will look at it tomorrow.
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})