blob: 8f42a0d5a6ccf7bea92f7c4f3048b720141b4c4c (
plain)
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
|
include(UseGlibMarshal)
GLIB_MARSHAL(sp_marshal sp-marshal "${CMAKE_CURRENT_BINARY_DIR}/helper")
SET(GlibOutput
${CMAKE_CURRENT_BINARY_DIR}/sp-marshal.cpp
${CMAKE_CURRENT_BINARY_DIR}/sp-marshal.h
)
SET(helper_SRC
action.cpp
geom.cpp
geom-nodetype.cpp
gnome-utils.cpp
pixbuf-ops.cpp
png-write.cpp
stock-items.cpp
unit-menu.cpp
units.cpp
#units-test.cpp
unit-tracker.cpp
window.cpp
sp-marshal.list
# we generate this file and it's .h counter-part
${CMAKE_CURRENT_BINARY_DIR}/sp-marshal.cpp
${CMAKE_CURRENT_BINARY_DIR}/sp-marshal.h
)
ADD_LIBRARY(helper STATIC ${helper_SRC})
TARGET_LINK_LIBRARIES(helper
2geom ${INKSCAPE_LIBS})
|