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