forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
36 lines (27 loc) · 856 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
include (LibAddBinding)
check_binding_included ("cpp" IS_INCLUDED)
if (IS_INCLUDED)
add_subdirectory (cpp)
endif ()
check_binding_included ("jna" IS_INCLUDED)
if (IS_INCLUDED)
add_subdirectory (jna)
endif ()
check_binding_included ("haskell" IS_INCLUDED)
if (IS_INCLUDED)
add_subdirectory (haskell)
endif ()
add_subdirectory (swig)
check_binding_included ("glib" IS_INCLUDED)
check_binding_included ("gi_python" IS_PYTHON_INCLUDED SUBDIRECTORY "gi/python")
check_binding_included ("gi_lua" IS_LUA_INCLUDED SUBDIRECTORY "gi/lua")
check_binding_included ("gsettings" IS_GSETTINGS_INCLUDED)
if (IS_INCLUDED OR IS_PYTHON_INCLUDED OR IS_LUA_INCLUDED OR IS_GSETTINGS_INCLUDED)
add_subdirectory (glib)
endif ()
if (IS_GSETTINGS_INCLUDED)
add_subdirectory (gsettings)
endif ()
add_subdirectory (gi)
add_subdirectory (intercept)
add_subdirectory (io)