Merge branch 'transfilterfix' into 'master'
[xonotic/netradiant.git] / plugins / CMakeLists.txt
1 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/modules")
2
3 add_custom_target(modules)
4 macro(radiant_plugin name)
5     message(STATUS "Found Module ${name}")
6     add_library(${name} MODULE ${ARGN})
7     add_dependencies(modules ${name})
8     copy_dlls(${name})
9     install(
10             TARGETS ${name}
11             LIBRARY DESTINATION modules
12     )
13 endmacro()
14
15 add_subdirectory(archivepak)
16 add_subdirectory(archivewad)
17 add_subdirectory(archivezip)
18 add_subdirectory(entity)
19 add_subdirectory(image)
20 add_subdirectory(imagehl)
21 add_subdirectory(imagepng)
22 add_subdirectory(imageq2)
23 add_subdirectory(iqmmodel)
24 add_subdirectory(mapq3)
25 add_subdirectory(mapxml)
26 add_subdirectory(md3model)
27 add_subdirectory(model)
28 add_subdirectory(shaders)
29 add_subdirectory(vfspk3)