mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 08:00:31 -04:00
Carve is a C++ library designed to perform boolean operations between two arbitrary polygonal meshes. The standard union and intersection operations are supported, as are symmetric and asymmetric difference. It is also possible to implement custom operations using Carve, allowing results to be formed from any combination of inputs. Carve supports a variety of inputs, including both closed and open surfaces, faces with arbitrary edge counts and datasets with multiple disjoint, embedded or touching surfaces. Carve can also interpolate arbitrary values across faces, meaning that CSG operations need not discard colour, texture coordinates or other data. WWW: http://code.google.com/p/carve/
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
--- src/CMakeLists.txt.orig 2011-08-26 22:17:26.000000000 +0200
|
|
+++ src/CMakeLists.txt 2012-02-17 11:06:58.000000000 +0100
|
|
@@ -1,7 +1,7 @@
|
|
include_directories("${carve_SOURCE_DIR}/include")
|
|
include_directories("${carve_SOURCE_DIR}/external/GLOOP/include")
|
|
-include_directories("${carve_SOURCE_DIR}/external/GLEW/include")
|
|
-include_directories("${carve_SOURCE_DIR}/external/GLUI/include")
|
|
+#include_directories("${carve_SOURCE_DIR}/external/GLEW/include")
|
|
+#include_directories("${carve_SOURCE_DIR}/external/GLUI/include")
|
|
include_directories("${carve_SOURCE_DIR}/common")
|
|
include_directories(${OPENGL_INCLUDE_DIR})
|
|
|
|
@@ -20,7 +20,7 @@
|
|
if(CARVE_WITH_GUI)
|
|
add_executable (view view.cpp)
|
|
target_link_libraries(view carve_fileformats carve_misc carve_ui carve gloop_model glui ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES})
|
|
- install(TARGETS view RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
|
+ install(TARGETS view RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/carve")
|
|
endif(CARVE_WITH_GUI)
|
|
|
|
add_executable (triangulate triangulate.cpp)
|
|
@@ -43,5 +43,5 @@
|
|
|
|
foreach(tgt intersect triangulate convert)
|
|
install(TARGETS ${tgt}
|
|
- RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|
|
+ RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/carve")
|
|
endforeach(tgt)
|