Fix MSYS2 issues
[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         imagelib.h
41         instancelib.h
42         maplib.h
43         moduleobservers.h
44         pivot.h
45         render.h
46         scenelib.h
47         selectionlib.h
48         shaderlib.h
49         str.h
50         stringio.h
51         texturelib.h
52         transformlib.h
53         traverselib.h
54         typesystem.h
55         undolib.h
56         uniquenames.h
57         versionlib.h
58         )
59
60 find_package(GLIB REQUIRED)
61 target_include_directories(libs PRIVATE ${GLIB_INCLUDE_DIRS})
62 target_link_libraries(libs PRIVATE ${GLIB_LIBRARIES})