Merge branch 'packonce' into 'master'
[xonotic/netradiant.git] / libs / CMakeLists.txt
1 add_subdirectory(cmdlib)
2 add_subdirectory(container)
3
4 if (BUILD_CRUNCH)
5     add_subdirectory(crnrgba)
6 endif ()
7
8 add_subdirectory(ddslib)
9 add_subdirectory(debugging)
10 add_subdirectory(etclib)
11 add_subdirectory(filematch)
12 add_subdirectory(generic)
13
14 if (BUILD_RADIANT)
15     add_subdirectory(gtkutil)
16     add_subdirectory(uilib)
17 endif ()
18
19 add_subdirectory(l_net)
20 add_subdirectory(math)
21 add_subdirectory(mathlib)
22 add_subdirectory(memory)
23 add_subdirectory(modulesystem)
24 add_subdirectory(os)
25 add_subdirectory(picomodel)
26 add_subdirectory(profile)
27 add_subdirectory(script)
28 add_subdirectory(signal)
29 add_subdirectory(splines)
30 add_subdirectory(stream)
31 add_subdirectory(string)
32 add_subdirectory(xml)
33
34 add_library(libs
35         _.cpp
36         archivelib.h
37         bytebool.h
38         bytestreamutils.h
39         character.h
40         convert.h
41         dragplanes.h
42         eclasslib.h
43         entitylib.h
44         entityxml.h
45         fs_filesystem.h
46         fs_path.h
47         globaldefs.h
48         imagelib.h
49         property.h
50         instancelib.h
51         maplib.h
52         moduleobservers.h
53         pivot.h
54         render.h
55         scenelib.h
56         selectionlib.h
57         shaderlib.h
58         str.h
59         stringio.h
60         texturelib.h
61         transformlib.h
62         traverselib.h
63         typesystem.h
64         undolib.h
65         uniquenames.h
66         versionlib.h
67         )
68
69 find_package(GLIB REQUIRED)
70 target_include_directories(libs PRIVATE ${GLIB_INCLUDE_DIRS})
71 target_link_libraries(libs PRIVATE ${GLIB_LIBRARIES})