diff options
| author | Campbell Barton <ideasman42@gmail.com> | 2011-06-12 18:27:29 +0000 |
|---|---|---|
| committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-12 18:27:29 +0000 |
| commit | 0ddedab9c6185028661dcaaac9f6fbca4c9e93fc (patch) | |
| tree | bbc7867e964a5b358b7b144df7c434941f7f06bf /src/helper | |
| parent | support python3.x for other i18n scripts (diff) | |
| download | inkscape-0ddedab9c6185028661dcaaac9f6fbca4c9e93fc.tar.gz inkscape-0ddedab9c6185028661dcaaac9f6fbca4c9e93fc.zip | |
work in progress cmake commit:
- cmake now builds all files that automake does but does NOT link yet
- inlcudes nasty hard coded paths and libs (will replace once linking works)
(bzr r10272)
Diffstat (limited to 'src/helper')
| -rw-r--r-- | src/helper/CMakeLists.txt | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/src/helper/CMakeLists.txt b/src/helper/CMakeLists.txt index 8f42a0d5a..e2ca2336d 100644 --- a/src/helper/CMakeLists.txt +++ b/src/helper/CMakeLists.txt @@ -1,29 +1,31 @@ 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(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 +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.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})
\ No newline at end of file + +add_library(helper STATIC ${helper_SRC}) +target_link_libraries(helper 2geom ${INKSCAPE_LIBS})
\ No newline at end of file |
