Skip to content
Snippets Groups Projects
Commit cbdfd8b0 authored by Brad Barber's avatar Brad Barber
Browse files

Add CMakeLists from kent williams <norman-k-williams@uiowa.edu>

parent 1a2994c2
No related branches found
No related tags found
No related merge requests found
project(qhull)
cmake_minimum_required(VERSION 2.4)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
add_subdirectory(src)
......@@ -274,12 +274,14 @@ Distributed files
COPYING.txt // copyright notice
QHULL-GO.pif // Windows icon for qhull-go.bat
Announce.txt // announcement
Changes.txt // change history for Qhull and rbox
CMakeLists.txt // CMake file
File_id.diz // package descriptor
index.htm // Home page
html/qh-faq.htm // Frequently asked questions
html/qh-get.htm // Download page
html/index.htm // Manual
src/Changes.txt // change history for Qhull and rbox
src/CMakeLists.txt // CMake file
src/Makefile.txt // Makefile for Unix or cygwin 'make'
src/Mborland // Makefile for Borland C++/Win32
src/Make-config.sh // Create Debian configure and automake
......@@ -308,7 +310,7 @@ src/
qhalf.exe
qvoronoi.exe
qhullcpp.dll
user_eg3.exe // cpp demonstration
user_eg3.exe // C++ demonstration program
eg/qhull-go.bat // DOS window
qconvex.htm // html manuals
qdelaun.htm
......
......@@ -24,6 +24,7 @@ RCC_DIR = ../../tmp/rcc
VPATH= ../..
OTHER_FILES += Announce.txt
OTHER_FILES += CMakeLists.txt
OTHER_FILES += COPYING.txt
OTHER_FILES += File_id.diz
OTHER_FILES += html/index.htm
......@@ -57,6 +58,7 @@ OTHER_FILES += index.htm
OTHER_FILES += README.txt
OTHER_FILES += REGISTER.txt
OTHER_FILES += src/Changes.txt
OTHER_FILES += src/CMakeLists.txt
OTHER_FILES += src/index.htm
OTHER_FILES += src/Make-config.sh
OTHER_FILES += src/Makefile.txt
......
project(qhull_lib)
set(qhull_src
user.c
global.c
stat.c
io.c
geom2.c
poly2.c
merge.c
qhull.c
geom.c
poly.c
qset.c
mem.c)
file(GLOB qhull_hdr *.h)
add_library(qhull ${qhull_src})
target_link_libraries(qhull m)
set(qhullcmd_SOURCES unix.c)
set(rbox_SOURCES rbox.c)
set(qconvex_SOURCES qconvex.c)
set(qdelaunay_SOURCES qdelaun.c)
set(qvoronoi_SOURCES qvoronoi.c)
set(qhalf_SOURCES qhalf.c)
add_executable(qhullcmd ${qhullcmd_SOURCES})
target_link_libraries(qhullcmd qhull)
add_executable(rbox ${rbox_SOURCES})
target_link_libraries(rbox qhull)
add_executable(qconvex ${qconvex_SOURCES})
target_link_libraries(qconvex qhull)
add_executable(qdelaunay ${qdelaunay_SOURCES})
target_link_libraries(qdelaunay qhull)
add_executable(qvoronoi ${qvoronoi_SOURCES})
target_link_libraries(qvoronoi qhull)
add_executable(qhalf ${qhalf_SOURCES})
target_link_libraries(qhalf qhull)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment