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/trace/CMakeLists.txt | 18 +++++++++--------- src/trace/potrace/CMakeLists.txt | 16 ++++++++-------- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'src/trace') diff --git a/src/trace/CMakeLists.txt b/src/trace/CMakeLists.txt index 3cb378995..312ee209c 100644 --- a/src/trace/CMakeLists.txt +++ b/src/trace/CMakeLists.txt @@ -1,12 +1,12 @@ -ADD_SUBDIRECTORY(potrace) -SET(trace_SRC -filterset.cpp -imagemap.cpp -imagemap-gdk.cpp -quantize.cpp -siox.cpp -trace.cpp -${trace_potrace_SRC} +add_subdirectory(potrace) +set(trace_SRC + filterset.cpp + imagemap.cpp + imagemap-gdk.cpp + quantize.cpp + siox.cpp + trace.cpp + ${trace_potrace_SRC} ) ADD_LIBRARY(trace STATIC ${trace_SRC}) TARGET_LINK_LIBRARIES(trace diff --git a/src/trace/potrace/CMakeLists.txt b/src/trace/potrace/CMakeLists.txt index f61e8bcd1..e48d7689f 100644 --- a/src/trace/potrace/CMakeLists.txt +++ b/src/trace/potrace/CMakeLists.txt @@ -1,9 +1,9 @@ -SET(trace_potrace_SRC -curve.cpp -decompose.cpp -greymap.cpp -inkscape-potrace.cpp -potracelib.cpp -render.cpp -trace.cpp +set(trace_potrace_SRC + curve.cpp + decompose.cpp + greymap.cpp + inkscape-potrace.cpp + potracelib.cpp + render.cpp + trace.cpp ) -- cgit v1.2.3