05055be512aeb2fd350380accf5cb51d8e4a0036
[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         archivelib.cpp archivelib.h
29         bytebool.cpp bytebool.h
30         bytestreamutils.cpp bytestreamutils.h
31         character.cpp character.h
32         convert.cpp convert.h
33         dragplanes.cpp dragplanes.h
34         eclasslib.cpp eclasslib.h
35         entitylib.cpp entitylib.h
36         entityxml.cpp entityxml.h
37         fs_filesystem.cpp fs_filesystem.h
38         fs_path.cpp fs_path.h
39         imagelib.cpp imagelib.h
40         instancelib.cpp instancelib.h
41         maplib.cpp maplib.h
42         moduleobservers.cpp moduleobservers.h
43         pivot.cpp pivot.h
44         render.cpp render.h
45         scenelib.cpp scenelib.h
46         selectionlib.cpp selectionlib.h
47         shaderlib.cpp shaderlib.h
48         str.cpp str.h
49         stringio.cpp stringio.h
50         texturelib.cpp texturelib.h
51         transformlib.cpp transformlib.h
52         traverselib.cpp traverselib.h
53         typesystem.cpp typesystem.h
54         undolib.cpp undolib.h
55         uniquenames.cpp uniquenames.h
56         versionlib.cpp versionlib.h
57         )
58
59 find_package(GLIB REQUIRED)
60 target_include_directories(libs PRIVATE ${GLIB_INCLUDE_DIRS})
61 target_link_libraries(libs PRIVATE ${GLIB_LIBRARIES})