From 57b7be0e80ab3146922c1df00d3772def4c56217 Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 8 Jul 2006 22:58:10 +0000 Subject: [PATCH] cmake development --- lib/vpsc/CMakeLists.txt | 48 ++--------------------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) diff --git a/lib/vpsc/CMakeLists.txt b/lib/vpsc/CMakeLists.txt index 3c52a45fd..0260fef87 100644 --- a/lib/vpsc/CMakeLists.txt +++ b/lib/vpsc/CMakeLists.txt @@ -1,50 +1,6 @@ # $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 -) +INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake) +INCLUDE(${vpsc_SRCDIR}/sources.cmake) 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