Debian Codegraph @

docs/reference/CMakeLists.txt

raw
1 #
2 # libInstPatch
3 #
4 # Copyright (C) 1999-2014 Element Green <[email protected]>
5 #
6 # See COPYING license file for distribution details
7 #
8
9 set (ignore_headers
10 IpatchConvert_Gig.h
11 IpatchConvert_SF2.h
12 IpatchConvert_DLS2.h
13 IpatchConverter_priv.h
14 IpatchSF2VoiceCache_DLS.h
15 IpatchSF2VoiceCache_Gig.h
16 IpatchSF2VoiceCache_SF2.h
17 IpatchSF2VoiceCache_VBank.h
18 IpatchState.h
19 IpatchStateGroup.h
20 IpatchStateItem.h
21 IpatchState_types.h
22 builtin_enums.h
23 compat.h
24 config.h
25 i18n.h
26 ipatch_priv.h
27 libinstpatch.h
28 marshals.h
29 )
30
31 if (GTKDOC_FOUND)
32 gtk_doc_add_module (libinstpatch
33 SOURCE ${CMAKE_SOURCE_DIR}/libinstpatch
34 XML libinstpatch-docs.xml
35 SUFFIXES c h
36 IGNOREHEADERS ${ignore_headers}
37 SCANOPTS ${CMAKE_CURRENT_BINARY_DIR}/../../libinstpatch/version.h
38 SCANOBJOPTS --type-init-func=ipatch_init\(\)
39 CFLAGS -I${CMAKE_SOURCE_DIR} -include libinstpatch/misc.h
40 LDFLAGS -L${CMAKE_CURRENT_BINARY_DIR}/../../libinstpatch -linstpatch-1.0
41 LDPATH ${CMAKE_CURRENT_BINARY_DIR}/../../libinstpatch
42 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/../../libinstpatch/libinstpatch-1.0.so
43 )
44
45 add_custom_target(documentation ALL DEPENDS doc-libinstpatch)
46 endif ()
47