From 19be9daff2f96af09b90b59759ab4b9f205d6d9f Mon Sep 17 00:00:00 2001 From: ellson Date: Fri, 23 Jun 2006 03:11:24 +0000 Subject: [PATCH] Experimenting with cmake - which claims to replace autoconf,automake,libtool and be more portable --- lib/vpsc/CMakeLists.txt | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 lib/vpsc/CMakeLists.txt diff --git a/lib/vpsc/CMakeLists.txt b/lib/vpsc/CMakeLists.txt new file mode 100644 index 000000000..3c52a45fd --- /dev/null +++ b/lib/vpsc/CMakeLists.txt @@ -0,0 +1,50 @@ +# $Id$ $Revision$ +## Process this file with cmake to produce Makefile + +INCLUDE_DIRECTORIES( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR} +) + + +########### next target ############### + +SET(vpsc_SRCS + block.cpp + blocks.cpp + constraint.cpp + generate-constraints.cpp + pairingheap/PairingHeap.cpp + remove_rectangle_overlap.cpp + solve_VPSC.cpp + csolve_VPSC.cpp + variable.cpp +) + +ADD_LIBRARY(vpsc STATIC ${vpsc_SRCS}) + + +########### install files ############### + + + + +#original Makefile.am contents follow: + +## $Id$ $Revision$ +### Process this file with automake to produce Makefile.in +# +#if WITH_IPSEPCOLA +#noinst_LTLIBRARIES = libvpsc_C.la +#endif +# +#noinst_HEADERS = \ +# solve_VPSC.h block.h blocks.h variable.h constraint.h \ +# generate-constraints.h remove_rectangle_overlap.h \ +# solve_VPSC.h csolve_VPSC.h pairingheap/PairingHeap.h \ +# pairingheap/dsexceptions.h +# +#libvpsc_C_la_SOURCES = \ +# block.cpp blocks.cpp constraint.cpp generate-constraints.cpp \ +# pairingheap/PairingHeap.cpp remove_rectangle_overlap.cpp \ +# solve_VPSC.cpp csolve_VPSC.cpp variable.cpp -- 2.40.0