From 0ddedab9c6185028661dcaaac9f6fbca4c9e93fc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 12 Jun 2011 18:27:29 +0000 Subject: 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) --- src/libvpsc/CMakeLists.txt | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'src/libvpsc') diff --git a/src/libvpsc/CMakeLists.txt b/src/libvpsc/CMakeLists.txt index 4c3398b0f..57811ad0a 100644 --- a/src/libvpsc/CMakeLists.txt +++ b/src/libvpsc/CMakeLists.txt @@ -1,13 +1,14 @@ -SET(libvpsc_SRC -block.cpp -blocks.cpp -constraint.cpp -csolve_VPSC.cpp -generate-constraints.cpp -remove_rectangle_overlap.cpp -solve_VPSC.cpp -variable.cpp +set(libvpsc_SRC + block.cpp + blocks.cpp + constraint.cpp + csolve_VPSC.cpp + generate-constraints.cpp + remove_rectangle_overlap.cpp + solve_VPSC.cpp + variable.cpp + pairingheap/PairingHeap.cpp ) -ADD_LIBRARY(vpsc STATIC ${libvpsc_SRC}) -TARGET_LINK_LIBRARIES(vpsc -${INKSCAPE_LIBS}) \ No newline at end of file + +add_library(vpsc STATIC ${libvpsc_SRC}) +target_link_libraries(vpsc ${INKSCAPE_LIBS}) -- cgit v1.2.3